Make your matplotlib dripped up.
Project description
matplotdrip
Installable matplotlib style sheet, a color cycle, and some nice colormaps.
I use these settings because I think they make plots that are "good", but also (as the kids would say) "dripped up".
Installation
Easiest is from PyPI either with pip
pip install matplotdrip
or uv (recommended)
uv add matplotdrip
Or, you can clone and build from source
git clone git@github.com:TomHilder/matplotdrip.git
cd matplotdrip
pip install -e .
where in the last step we made an editable install with pip but you can do whatever you like.
Usage
To use the plotting style:
import matplotdrip # Registers the style with matplotlib
plt.style.use("drip")
To get a colour from the cycle by index, wrapping around if the index exceeds the number of colours:
from matplotdrip import get_color
c = get_color(N) # N is any positive integer
To access the custom colormaps:
from matplotdrip import colormaps
# Then simply use `red_white_blue` or `red_white_blue_r` in place of any mpl cmap
plt.imshow(..., cmap="red_white_blue_r")
Credit
The colour cycle is from manim, and the red_white_blue colourmap is from this repo.
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 matplotdrip-2.0.0.tar.gz.
File metadata
- Download URL: matplotdrip-2.0.0.tar.gz
- Upload date:
- Size: 81.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f54a02a08f5c84443122d6fb0ee085e75bdd19c7eb10471acf6f463b66f591c
|
|
| MD5 |
adfb3bfca80f3e78b049194d2572ca82
|
|
| BLAKE2b-256 |
bf2fb892251e62599d9caa8de51312bb6e804ca9a9db713ac61342070b886e7f
|
Provenance
The following attestation bundles were made for matplotdrip-2.0.0.tar.gz:
Publisher:
release.yml on TomHilder/matplotdrip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
matplotdrip-2.0.0.tar.gz -
Subject digest:
9f54a02a08f5c84443122d6fb0ee085e75bdd19c7eb10471acf6f463b66f591c - Sigstore transparency entry: 869284378
- Sigstore integration time:
-
Permalink:
TomHilder/matplotdrip@8536ceb91ff7689a7f2e6c37f21d7a7966519948 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/TomHilder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8536ceb91ff7689a7f2e6c37f21d7a7966519948 -
Trigger Event:
push
-
Statement type:
File details
Details for the file matplotdrip-2.0.0-py3-none-any.whl.
File metadata
- Download URL: matplotdrip-2.0.0-py3-none-any.whl
- Upload date:
- Size: 53.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45108b52a2347c0c9b9ef7cc7e2b30e5a38a3ff22ae98f4f6b15e186578e6ed9
|
|
| MD5 |
50f4a042acc41054265bde6b10da3a7e
|
|
| BLAKE2b-256 |
01adfd614cdc86503b14d7cb6e9c92195f00e549cec448445e776380b38253f9
|
Provenance
The following attestation bundles were made for matplotdrip-2.0.0-py3-none-any.whl:
Publisher:
release.yml on TomHilder/matplotdrip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
matplotdrip-2.0.0-py3-none-any.whl -
Subject digest:
45108b52a2347c0c9b9ef7cc7e2b30e5a38a3ff22ae98f4f6b15e186578e6ed9 - Sigstore transparency entry: 869284382
- Sigstore integration time:
-
Permalink:
TomHilder/matplotdrip@8536ceb91ff7689a7f2e6c37f21d7a7966519948 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/TomHilder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8536ceb91ff7689a7f2e6c37f21d7a7966519948 -
Trigger Event:
push
-
Statement type: