-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Update matplotlib.__doc__. #16248
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
Update matplotlib.__doc__. #16248
Conversation
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.
Conditional on CI.
lib/matplotlib/__init__.py
Outdated
a function for setting groups of rcParams values | ||
`~matplotlib.use` | ||
Setting the Matplotlib backend. It is not possible to switch between | ||
multiple GUI backends. |
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.
While it's correct that it doesn't need to be used before importing pyplot (anymore), it would still be helpful for users to know that they should use it before doing anything substantial, like creating a pyplot figure. Also a reference to pyplot.switch_backend
might be good here.
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.
Edited to clarify the first point. I would rather not mention switch_backend -- in fact I would rather deprecate it as being essentially duplicate with use().
A bit of rewording. The main point is regarding matplotlib.use(), whose doc was just plain wrong re: backend switching.
The failures are pytest + qt related. |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulation you did some good work ! Hopefully your backport PR will be tested by the continuous integration and merged soon! If these instruction are inaccurate, feel free to suggest an improvement. |
Meanwhile, v3.2.0 has been tagged, and I don't think, it's essential to backport this. |
3.2.0 has not yet been tagged, but I'm not in any hurry to backport this myself. |
A bit of rewording. The main point is regarding matplotlib.use(), whose
doc was just plain wrong re: backend switching.
PR Summary
PR Checklist