GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — MNT: Deprecate rcParams._get("backend") by timhoffm · Pull Request #30963 · matplotlib/matplotlib Conversation
|
|
Still need to filter the deprecation warnings for internal use. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| _api.warn_deprecated( | ||
| "rcParams._get('backend') is deprecated since Matplotlib 3.11. " | ||
| "Use matplotlib.get_backend(auto_select=False) instead, which is " | ||
| "available since Matplotlib 3.10.", | ||
| ) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The first arg is since, not the full message.
| _api.warn_deprecated( | |
| "rcParams._get('backend') is deprecated since Matplotlib 3.11. " | |
| "Use matplotlib.get_backend(auto_select=False) instead, which is " | |
| "available since Matplotlib 3.10.", | |
| ) | |
| _api.warn_deprecated( | |
| "3.11", | |
| name="rcParams._get('backend')", | |
| addendum="Use matplotlib.get_backend(auto_select=False) instead, which is " | |
| "available since Matplotlib 3.10.", | |
| ) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Please bump to 3.12 as well.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| "Use matplotlib.get_backend(auto_select=False) instead, which is " | ||
| "available since Matplotlib 3.10.", | ||
| ) | ||
| # TODO: When removing this, also remove the suppression context in |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
What is "this"? The comment is in an odd spot to decide if it's the if, the warning, or the whole method.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Deprecation is too complicated as long as we also need to use the API internally. Trying to silence deprecation warnings on internal usage turned out to be a deep rabbit hole. Closing in favor of #31791 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.