Skip to content

DOC: Prepare What's New page for 3.11#31727

Draft
QuLogic wants to merge 2 commits into
matplotlib:v3.11.xfrom
QuLogic:whatsnew311
Draft

DOC: Prepare What's New page for 3.11#31727
QuLogic wants to merge 2 commits into
matplotlib:v3.11.xfrom
QuLogic:whatsnew311

Conversation

@QuLogic
Copy link
Copy Markdown
Member

@QuLogic QuLogic commented May 22, 2026

PR summary

Consolidate all the snippets into groups, then do some minor copy-editing. I still need to finish up a few more example plots though.

AI Disclosure

None

PR checklist

@QuLogic QuLogic added this to the v3.11.0 milestone May 22, 2026
@timhoffm
Copy link
Copy Markdown
Member

Doc failure is #31728

In particular, standalone figures (created with the `.Figure` constructor) can now be
registered with the `.pyplot` module by calling ``plt.figure(fig)``. This allows showing
them with ``plt.show()`` as you would do with any figure created with pyplot factory
methods such as ``plt.figure()`` or ``plt.subplots()``.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
methods such as ``plt.figure()`` or ``plt.subplots()``.
functions such as ``plt.figure()`` or ``plt.subplots()``.

is either the original `.FigureCanvasBase` or a backend-dependent subclass,
depending on whether the figure is registered with pyplot or not.

Additionally, the swapping of the canvas currently does not play well with blitting
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is largely solved. While I can’t guarantee threre‘s no edge case left, none is known. IMHO we should drop the comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants