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

Replace deprecated function #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

BioGeek
Copy link

@BioGeek BioGeek commented Mar 5, 2018

pd.set_option('display.mpl_style', 'default') throws a `FutureWarning:

/srv/venv2/local/lib/python2.7/site-packages/IPython/core/interactiveshell.py:2882: 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)

So, use plt.style.use('default') instead.

`pd.set_option('display.mpl_style', 'default')` throws a `FutureWarning:

    /srv/venv2/local/lib/python2.7/site-packages/IPython/core/interactiveshell.py:2882: 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)

So, use `plt.style.use('default')` instead.
@BioGeek
Copy link
Author

BioGeek commented Mar 5, 2018

Duplicate of #53 and #49

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

Successfully merging this pull request may close these issues.

1 participant