jakevdp / JupyterWorkflow

Reproducible Data Analysis Workflow in Jupyter
https://jakevdp.github.io/blog/2017/03/03/reproducible-data-analysis-in-jupyter/
MIT License
116 stars 42 forks source link

JupyterWorkflow.ipynb: plt.style.use('seaborn') -> not available style in mpl 1.5.1 #7

Closed pamag closed 7 years ago

pamag commented 7 years ago

In jupyter notebook JupyterWorkflow.ipynb

%matplotlib inline
import matplotlib.pyplot as plt
plt.style.use('seaborn')

.

Matplotlib version = 1.5.1

The seaborn style for matplotlib is not available anymore.

OSError: 'seaborn' not found in the style library and input is not a valid URL or path. See `style.available` for list of available styles.

Available styles:

['seaborn-pastel',
 'seaborn-ticks',
 'ggplot',
 'seaborn-bright',
 'seaborn-talk',
 'seaborn-notebook',
 'seaborn-deep',
 'grayscale',
 'seaborn-muted',
 'seaborn-dark-palette',
 'seaborn-colorblind',
 'bmh',
 'seaborn-poster',
 'seaborn-paper',
 'fivethirtyeight',
 'seaborn-white',
 'classic',
 'seaborn-dark',
 'seaborn-whitegrid',
 'dark_background',
 'seaborn-darkgrid']
jakevdp commented 7 years ago

I was using matplotib 2.0. I think if you update you will see this style available.