Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.1k
Remove mplDeprecation#11247
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
Remove mplDeprecation#11247
Uh oh!
There was an error while loading.Please reload this page.
Conversation
tacaswell commentedMay 15, 2018
cbook is public API. We are going to deprecate the deprecation? 😈 |
anntzer commentedMay 15, 2018
#10735 may be useful here... |
0a35d2a to9ea3babComparetimhoffm commentedMay 16, 2018
@anntzer Thanks for the hint on#10735. It's an interesting approach. However I think it's a bit overkill for the present case. Likely, very few people will use I've added a deprecation note and think that's enough. |
| ````````````````````````````````````````````````````````````` | ||
| :class:`matplotlib.cbook.deprecation.mplDeprecation` will be removed in | ||
| future versions. It is just an for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I assume "It is just an alias for"...
9ea3bab to351636cCompareanntzer commentedMay 26, 2018
You mean, like#10716? :) I would also like to see it go away, but I'll leave it to@tacaswell to make the final call. |
timhoffm commentedMay 26, 2018
|
f5dbacd to1c5c86dComparetimhoffm commentedJun 3, 2018
To be on the safe side, I've kept |
lib/matplotlib/__init__.py Outdated
| frommatplotlib.cbookimport ( | ||
| mplDeprecation,dedent,get_label,sanitize_sequence) | ||
| MatplotlibDeprecationWarning,dedent,get_label,sanitize_sequence) | ||
| fommatplotlib.cbookimportmplDeprecation# deprecated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This can't be right? Should readfrom instead offom.
d8a7c80 to4fd04f9Compare4fd04f9 toc0c33cdCompareanntzer commentedJul 1, 2018
Not to be a pain :-) but I would appreciate if#11297 (which completely gets rid of quite a few of these mplDeprecations, rather than just renaming them; and which is already approved twice) could go in first... |
c0c33cd toeb0bbfaComparelib/matplotlib/pyplot.py Outdated
| frommatplotlibimport_pylab_helpers,interactive | ||
| frommatplotlib.cbookimport ( | ||
| dedent,deprecated,silent_list,warn_deprecated,_string_to_bool) | ||
| frommatplotlib.cbookimportmplDeprecation# deprecated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
this isn't needed?
eb0bbfa toa1419ccComparetacaswell commentedJul 9, 2018
Thanks@timhoffm ! |
Uh oh!
There was an error while loading.Please reload this page.
This is just an alias to
MatplotlibDeprecationWarning. Explicitly using the latter is preferred.Is cbook considered public API? If so, we have do add a deprecation cycle for
mplDeprecation.PR Checklist