-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Make the signature of Axes.draw() consistent with Artist.draw(). #16063
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
b226b07 to
a663528
Compare
a500415 to
18a1b67
Compare
b5a493c to
32b5da6
Compare
QuLogic
left a comment
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.
Needs a rebase and a small typo fix.
lib/matplotlib/axes/_base.py
Outdated
| if renderer is None: | ||
| cbook.warn_deprecated( | ||
| "3.3", message="Support for not passing the 'renderer' " | ||
| "paramater to Axes.draw() is deprecated since %(since)s and " |
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.
| "paramater to Axes.draw() is deprecated since %(since)s and " | |
| "parameter to Axes.draw() is deprecated since %(since)s and " |
lib/matplotlib/cbook/deprecation.py
Outdated
| such after the deprecation period has passed and the deprecated parameter | ||
| is removed. | ||
| Additional kwargs are passed to `.warn_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.
| Additional kwargs are passed to `.warn_deprecated`. | |
| Additional keyword arguments are passed to `.warn_deprecated`. |
... i.e. draw(renderer) instead of draw(renderer=None, inframe=False) (with a deprecation period).
|
thanks, rebased and handled comments. |
... i.e. draw(renderer) instead of draw(renderer=None, inframe=False)
(with a deprecation period).
Closes #16022.
PR Summary
PR Checklist