Skip to main content

PyWaffle

https://badge.fury.io/py/pywaffle.svg https://readthedocs.org/projects/pywaffle/badge/?version=latest&style=flat https://img.shields.io/badge/run-Online%20Demo-blue

Introduction

PyWaffle is an open source, MIT-licensed Python package for plotting waffle charts.

It provides a Figure constructor class Waffle, which could be passed to matplotlib.pyplot.figure and generates a matplotlib Figure object.

Installation

pip install pywaffle

Quickstart

from pywaffle import waffle_chart

fig, ax = waffle_chart([48, 46, 6], rows=5, columns=10, figsize=(5, 3))

waffle_chart() returns the matplotlib (figure, axes) pair, and takes ax= to draw into a layout you already have. The figure-class form below builds the same chart and is equally supported:

import matplotlib.pyplot as plt
from pywaffle import Waffle

fig = plt.figure(FigureClass=Waffle, rows=5, columns=10, values=[48, 46, 6])

Demo

Online Demo

Documentation

https://pywaffle.readthedocs.io/

License

  • PyWaffle is under MIT license, see LICENSE file for the details.

  • The Font Awesome font is licensed under the SIL OFL 1.1: http://scripts.sil.org/OFL

Metadata

Release files for pywaffle 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pywaffle 1.2.0
File Size Uploaded
pywaffle-1.2.0.tar.gz 63.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pywaffle 1.2.0
File Interpreter ABI Platform
pywaffle-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 91.4 kB

Release files / pywaffle-1.2.0.tar.gz

Download URL pywaffle-1.2.0.tar.gz
Size 63.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f2f30de1ad76ec0c2a982ff173812b13b17647d0d5080bb50d8eb59f5897e1f4
BLAKE2b-256 checksum
How to use checksums
4392dad3f24532e056994ba00f0a2c47666d4861d43d92a45381d4109df694a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.

Transparency log

Release files / pywaffle-1.2.0-py3-none-any.whl

Download URL pywaffle-1.2.0-py3-none-any.whl
Size 27.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f0e2ed99a62708e9298197e8b389c3906aa431aa961d0ea7d3cbb873fb1bb58c
BLAKE2b-256 checksum
How to use checksums
a989c4f10e02b57c73a21a98c07a255beaa8b54d63afd3e4b6c5bc7684bd6ec1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

1 release file

0.2.0

1 release file

0.1.0

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page