PyWaffle
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
Documentation
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)
| File | Size | Uploaded | |
|---|---|---|---|
| pywaffle-1.2.0.tar.gz | 63.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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