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.fixAvoid 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.fixConsider 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.fixMigrate 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.