Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Do not close figures on backend switch.#26472

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ksunden merged 1 commit intomatplotlib:mainfromanntzer:nocloseall
Aug 8, 2023

Conversation

anntzer
Copy link
Contributor

Do notclose("all") figures on (allowable) backend switches, e.g. between qt5agg and qt5cairo, or qt5agg and notebook.

The NonGuiException message had to change, as the backend returned by get_backend() may no longer match the actual canvas class.

Closes#15913. (Redo of#15918; see also#14471.)

PR summary

PR checklist

Do not `close("all")` figures on (allowable) backend switches, e.g.between qt5agg and qt5cairo, or qt5agg and notebook.The NonGuiException message had to change, as the backend returned byget_backend() may no longer match the actual canvas class.
Copy link
Member

@tacaswelltacaswell left a comment

Choose a reason for hiding this comment

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

I'm in favor of squeezing this in for 3.8.

It is a super edge-case but would be good to get done.

@ksunden
Copy link
Member

Test failure is known flaky test (test_blit)

@ksundenksunden merged commitc5cab93 intomatplotlib:mainAug 8, 2023
@anntzeranntzer deleted the nocloseall branchAugust 8, 2023 22:07
story645 added a commit to story645/matplotlib that referenced this pull requestAug 9, 2023
story645 added a commit to story645/matplotlib that referenced this pull requestAug 9, 2023
Co-authored-by: Kyle Sunden <git@ksunden.space>
story645 added a commit to story645/matplotlib that referenced this pull requestAug 9, 2023
Co-authored-by: Kyle Sunden <git@ksunden.space>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@tacaswelltacaswelltacaswell approved these changes

@ksundenksundenksunden approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.8.0
Development

Successfully merging this pull request may close these issues.

Switching to inline backend closes GUI windows
3 participants
@anntzer@ksunden@tacaswell

[8]ページ先頭

©2009-2025 Movatter.jp