In [1]:
import prettyplotlib as ppl
from prettyplotlib import plt
from prettyplotlib import mpl
from prettyplotlib import brewer2mpl
# Set the random seed for consistency
np.random.seed(12)
fig, ax = plt.subplots(1)
# Show the whole color range
for i in range(8):
y = np.random.normal(size=1000).cumsum()
x = np.arange(1000)
# For now, you need to specify both x and y :(
# Still figuring out how to specify just one
ppl.plot(ax, x, y)
In [2]:
ppl.plot??
In [2]:
# Note to self: need to do this on oolite because I have non-defaults set in my .matplotlibrc file
import matplotlib.pyplot as mpl_plt
# Set the random seed for consistency
np.random.seed(12)
#fig, ax = mpl_plt.subplots(1)
# Show the whole color range
for i in range(8):
y = np.random.normal(size=1000).cumsum()
mpl_plt.plot(y)
In [ ]: