Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter 1: first cell raises FutureWarning about mpl_style #49

Open
tuxayo opened this issue May 14, 2016 · 1 comment
Open

Chapter 1: first cell raises FutureWarning about mpl_style #49

tuxayo opened this issue May 14, 2016 · 1 comment

Comments

@tuxayo
Copy link

tuxayo commented May 14, 2016

On Chapter 1, running the first cell

# Render our plots inline
%matplotlib inline

import pandas as pd
import matplotlib.pyplot as plt

pd.set_option('display.mpl_style', 'default') # Make the graphs a bit prettier
plt.rcParams['figure.figsize'] = (15, 5)

triggers

/usr/lib/python2.7/site-packages/IPython/core/interactiveshell.py:2885: FutureWarning: 
mpl_style had been deprecated and will be removed in a future version.
Use `matplotlib.pyplot.style.use` instead.

  exec(code_obj, self.user_global_ns, self.user_ns)
@hongtao510
Copy link

I set it to plt.style.use('default')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants