Whimsical cat decorations for matplotlib figures.
Project description
meowplotlib
Whimsical cat decorations for matplotlib figures. One import, zero required config.
import matplotlib.pyplot as plt
import meowplotlib # cats now appear on every figure you show or save
plt.plot([1, 2, 3], [1, 4, 9])
plt.savefig("chart.png")
Quickstart
pip install meowplotlib
import meowplotlib
meowplotlib.set_style("chonk") # or a list, or "mix"
meowplotlib.set_density("chaotic") # "sparse" | "normal" | "chaotic"
meowplotlib.set_seed(42) # reproducible layouts
meowplotlib.disable() # turn it off for the rest of the session
meowplotlib.enable() # turn it back on
with meowplotlib.config(enabled=False):
... # one chart rendered without cats
Config
| Function | Values | Effect |
|---|---|---|
set_style |
style name, list of names, or "mix" |
which cat art pool(s) to draw from |
set_density |
"sparse" | "normal" | "chaotic" |
how many cats appear |
set_seed |
int | None |
lock or randomize placement |
enable() / disable() |
— | session on/off switch |
config(**overrides) |
context manager | temporary overrides for one block |
Art
v1 ships with three real cat art styles: classic, derp, and chonk. Adding or swapping a
style is a pure file-drop under src/meowplotlib/assets/images/<style>/ plus one styles.toml
entry — no code changes required. See ATTRIBUTION.md for notes.
See STANDUP_PLAN.md and constitution.md for the full project contract.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file meowplotlib-0.1.0.tar.gz.
File metadata
- Download URL: meowplotlib-0.1.0.tar.gz
- Upload date:
- Size: 1.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
648832e9a163943d74aae9883b166006c9c527b6b7dcccad365af1b469a836ee
|
|
| MD5 |
dea07fdc15ecf0a725df0cce0aeec503
|
|
| BLAKE2b-256 |
aac84341c3c329fe79f92fc821fd90de33b8e35454317ddcff0625b52d4dc92f
|
Provenance
The following attestation bundles were made for meowplotlib-0.1.0.tar.gz:
Publisher:
publish.yml on c-owen/meowplotlib
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
meowplotlib-0.1.0.tar.gz -
Subject digest:
648832e9a163943d74aae9883b166006c9c527b6b7dcccad365af1b469a836ee - Sigstore transparency entry: 2049351982
- Sigstore integration time:
-
Permalink:
c-owen/meowplotlib@2ae0326ef38a0bf7aa653c1ae489be71c740d44b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/c-owen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2ae0326ef38a0bf7aa653c1ae489be71c740d44b -
Trigger Event:
release
-
Statement type:
File details
Details for the file meowplotlib-0.1.0-py3-none-any.whl.
File metadata
- Download URL: meowplotlib-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
513d62a1d728ee19ee8ef2987f4683659f3d5221fc2b3ea2edcd1042f61aef3a
|
|
| MD5 |
019af679ac324d25e6aec61cf3f42afd
|
|
| BLAKE2b-256 |
86624e12d5c10bdc1a004fc5e4b6854a08858fd8b64c774e68559ae076e5a202
|
Provenance
The following attestation bundles were made for meowplotlib-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on c-owen/meowplotlib
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
meowplotlib-0.1.0-py3-none-any.whl -
Subject digest:
513d62a1d728ee19ee8ef2987f4683659f3d5221fc2b3ea2edcd1042f61aef3a - Sigstore transparency entry: 2049352353
- Sigstore integration time:
-
Permalink:
c-owen/meowplotlib@2ae0326ef38a0bf7aa653c1ae489be71c740d44b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/c-owen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2ae0326ef38a0bf7aa653c1ae489be71c740d44b -
Trigger Event:
release
-
Statement type: