Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
re-arrange mplDeprecation imports#1946
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
and changed all cases offrom matplotlib import MatplotlibDeprecationWarning as mplDeprecationtofrom cbook import mplDeprecation
Thanks for doing this work. You should explicitely import cbook: either use |
Should lines like
(from |
I think it would be cleaner, but I think this is a question of personal taste so I'll leave it up to you. |
My inclination is to not change code that works, so I will leave it ;) |
re-arrange mplDeprecation imports
in#1917@NelleV requested I import
mplDeprecation
directly fromcbook
. On further investigation I found that none of the current code did that.This PR changes the import scheme to import directly from cbook everywhere.