Skip to main content

mpl_drip

histogram

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 mpl-drip

or uv (recommended)

uv add mpl-drip

Or, you can clone and build from source

git clone git@github.com:TomHilder/mpl_drip.git
cd mpl_drip
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 mpl_drip  # 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 mpl_drip import get_color
c = get_color(N) # N is any positive integer

To access the custom colormaps:

from mpl_drip 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.

Metadata

Release files for mpl-drip 1.1.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 mpl-drip 1.1.0
File Size Uploaded
mpl_drip-1.1.0.tar.gz 81.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mpl-drip 1.1.0
File Interpreter ABI Platform
mpl_drip-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 134.3 kB

Release files / mpl_drip-1.1.0.tar.gz

Download URL mpl_drip-1.1.0.tar.gz
Size 81.1 kB
Tags Source
SHA-256 checksum
How to use checksums
433eaa17cb7081ff0cf4284edf5a76206756966378145bdacdb2099a67b2f6ca
BLAKE2b-256 checksum
How to use checksums
21926ed44e19aff488f62c5cf1c3d45b3bc9f3ad5d285d88d54bbba25e20f417
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Jan 29, 2026.

Transparency log

Release files / mpl_drip-1.1.0-py3-none-any.whl

Download URL mpl_drip-1.1.0-py3-none-any.whl
Size 53.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f0de6dcd216ce2a5ff916ec3cdd6b6022484009d5cb5db97ca2a637495d084f
BLAKE2b-256 checksum
How to use checksums
ac925809d4a974434c267f07559ba3a7b9df3c83ac61a992d9d09d9b046db090
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Jan 29, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.0

2 release files

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