-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
fix warning used by cbook.warn_deprecated() #15302
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
Conversation
@timhoffm Could you have a look at this. I think the failures are unrelated to the PR Thanks! |
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.
Thanks for contributing! The catergory should be set one level deeper in _warn_deprecated. There are usages of _ warn_external that are not deprecation warnings. The test failures actually arise from this.
@timhoffm Thanks for helping. |
Sorry to have caused confusion. Yes, you are right, this is actually one level higher. Anyway, the point is |
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.
Should be squashed before merging.
@timhoffm I think I have made a mistake while squashing the commits, could you have a look please and let me know what needs to be done. Thanks! |
You've apparently accidentially squashed some of your changes with an existing commit from master (a371ae4). It's probably the most easy to start a new branch on top of current master. This is how I would do it (but there are many ways in git):
|
change warning class from UserWarning to MatplotlibDeprecationWarning closes #15289
@timhoffm Thanks a lot for the detailed explanation and steps! 😄 |
change warning class from UserWarning to MatplotlibDeprecationWarning
closes #15289