Registry / data / prettyplotlib

prettyplotlib

JSON →
library0.1.7pypypiunverified

Prettyplotlib is a small library that patches matplotlib to provide more aesthetically pleasing default styles and color palettes. The current version is 0.1.7, but the library is effectively unmaintained (last release 2014) and has known issues with modern matplotlib.

pip install prettyplotlib
INSTALL
IMPORT
SIG · PRETTYPLOTLIB
P
prettyplotlib
datapythonv0.1.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

prettyplotlib
import prettyplotlib
import prettyplotlib as ppl

Apply prettyplotlib's style using ppl.pretty(), then use matplotlib as usual.

import matplotlib.pyplot as plt import prettyplotlib as ppl import numpy as np # Instead of calling ppl.plot, you can use ppl to set the style, then use matplotlib as usual. ppl.pretty() # Apply the pretty style # Example: scatter plot x = np.random.randn(100) y = np.random.randn(100) plt.scatter(x, y) plt.title('Prettyplotlib Scatter') plt.show()
Debug
Known issues
gotchaprettyplotlib.pretty() may override plt.style.use and cause unexpected interactions with matplotlib rcParams. Use with caution.
fix
Avoid mixing plt.style.use() with prettyplotlib. Either use one or the other.
affects: all
gotchaprettyplotlib uses deprecated matplotlib APIs and may not work with matplotlib >= 3.0. Many functions like 'pcolormesh' have changed signatures.
fix
Consider alternatives like Seaborn or custom styles. Prettyplotlib is no longer maintained.
affects: matplotlib >= 3.0
deprecatedThe library is effectively deprecated; no updates since 2014. It will likely break with newer Python/matplotlib versions.
fix
Migrate to Seaborn, plotnine, or use matplotlib's built-in style sheets or 'seaborn-v0_8' styles.
affects: all
Upgrade
Version history
0.1.7latest on PyPI · released Mar 4, 2014
Audit
Dependencies
matplotlibrequiredCore dependency; prettyplotlib patches matplotlib's style.
Agent activity
8 hits · last 30 days
node
6
Resources
prettyplotlib — pip install prettyplotlib · libregistry