Closed ghost closed 10 years ago
Thank you for your comment. Unfortunately, I no longer have the bandwidth to maintain prettyplotlib. I recommend using seaborn
. Using seaborn
, to get the prettyplotlib
style, do:
import seaborn as sns
sns.set(style='ticks', palette='Set2')
And to remove "chartjunk", do:
sns.despine()
If you have discrete pull requests, I will accept them, but I personally will no longer fix bugs.
If you are a biological scientist looking for ways to analyze your big-ish (20+ samples) data, check out my main project, flotilla
.
import prettyplotlib as ppl import matplotlib.pyplot as plt import numpy as np
fig, ax = ppl.subplots(1) np.random.seed(10) x = np.linspace(-1000,1000,10) y = np.linspace(-1,1,80) z = np.random.random([10,80]) X,Y = np.meshgrid(x,y) ppl.pcolormesh(fig,ax,x,y,z.T) plt.show()
I would have expected that ppl uses x,y,and z.T as args and then utilizes the pcolormesh(X, Y, C) instead of pcolormesh(C, **kwargs), but it seems as if this is not the case! When I look into the code of ppl.pcolormesh I do not see why this is case!