In [3]:
%load_ext autoreload
%autoreload 2


The autoreload extension is already loaded. To reload it, use:
  %reload_ext autoreload

In [4]:
import prettyplotlib as ppl

# prettyplotlib imports 
import matplotlib.pyplot as 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):
    y1 = np.random.normal(size=1000).cumsum()
    y2 = np.random.normal(size=1000).cumsum()
    x = np.arange(1000)

    plt.fill_between(x, y1, y2, label=str(i))
    
ppl.legend()

fig.savefig('fill_between_matplotlib_default.png')



In [5]:
import prettyplotlib as ppl

# prettyplotlib imports 
import matplotlib.pyplot as 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):
    y1 = np.random.normal(size=1000).cumsum()
    y2 = np.random.normal(size=1000).cumsum()
    x = np.arange(1000)

    ppl.fill_between(x, y1, y2, label=str(i))
    
ppl.legend()

fig.savefig('fill_between_prettyplotlib_default.png')



In [18]:
%pdb


Automatic pdb calling has been turned OFF

In [4]:
ax.lines


Out[4]:
[]

In [7]:
ax.fill_between?

In [ ]: