FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix tk error when closing first pyplot figure by ImportanceOfBeingErnest · Pull Request #12707 · matplotlib/matplotlib · GitHub

Repository navigation

Fix tk error when closing first pyplot figure - #12707

Merged
tacaswell merged 1 commit into
matplotlib:masterfrom
ImportanceOfBeingErnest:fix-tk-closedfigure-mainloop
Nov 4, 2018
Merged

tacaswell merged 1 commit into
matplotlib:masterfrom
ImportanceOfBeingErnest:fix-tk-closedfigure-mainloop

Conversation

Copy link
Copy Markdown
Member

PR Summary

Fixes #12703, where closing the first pyplot figure before show results in a tk error.

This PR implements the solution proposed by @anntzer.

I wouldn't currently know how to test the interactive backend, but I'm happy to find out if someone thinks this needs to be tested.

I milestoned for v3.0.x, despite being no regression, because it fixes an ugly bug.

PR Checklist

  • Has Pytest style unit tests
  • Code is Flake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error when closing first of several pyplot figures in TkAgg

3 participants


Back | FazBrowse Home | New Git URL