Differences with show() between backends
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the documented examples on macOS with the qt5agg, macosx, and tkagg backends, focusing on each reported show() and figure-closing behavior. Review the examples containing subplot_module and the backend-specific show/close entry points mentioned in the report. Done means the samples use subplot_mosaic and each backend handles the reported event-loop, window-closing, and second-show cases without the stated errors.
Written by the indexing model from the issue text.
Description
I was just testing out the examples from the docs and figured I would put some quick findings here while running on a Mac.
- Documentation: Change
subplot_moduletosubplot_mosaicin a couple of places in the code samples qt5agg: mg.show() does not exit after closing both figures, the event loop keeps runningmacosx: mg.show() closing one figure closes all of the figures, as if the closeWindow gets sent to every figure, not just the one clicked.tkagg: In the secondfr.show()call in the examples I get this error:_tkinter.TclError: can't invoke "wm" command: application has been destroyed(macosx seems to get through this and the qt5agg I don't think ever even gets here due to the event loop not quiting after the first show() as mentioned above)
- Dominant language
- Python
- Stars
- 17
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from matplotlib/mpl-gui
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
matplotlib/mpl-gui#8 ·
All issues in matplotlib/mpl-gui
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100