In [3]:
%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np

In [4]:
plt.style.available


Out[4]:
[u'seaborn-darkgrid',
 u'seaborn-notebook',
 u'classic',
 u'seaborn-ticks',
 u'grayscale',
 u'bmh',
 u'seaborn-talk',
 u'dark_background',
 u'ggplot',
 u'fivethirtyeight',
 u'seaborn-colorblind',
 u'seaborn-deep',
 u'seaborn-whitegrid',
 u'seaborn-bright',
 u'seaborn-poster',
 u'seaborn-muted',
 u'seaborn-paper',
 u'seaborn-white',
 u'seaborn-pastel',
 u'seaborn-dark',
 u'seaborn-dark-palette']

In [5]:
def hist_and_lines():
    np.random.seed(0)
    fig, ax = plt.subplots(1, 2, figsize=(11, 4))
    ax[0].hist(np.random.randn(1000))
    for i in range(3):
        ax[1].plot(np.random.rand(10))
    ax[1].legend(['a', 'b', 'c'], loc='lower left')

In [6]:
hist_and_lines()



In [7]:
with plt.style.context('fivethirtyeight'):
    hist_and_lines()



In [8]:
with plt.style.context('ggplot'):
    hist_and_lines()



In [9]:
with plt.style.context('bmh'):
    hist_and_lines()



In [13]:
import seaborn as sns
sns.set(style="whitegrid")
hist_and_lines()



In [12]:
sns.set()
hist_and_lines()