| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
closes matplotlib#22169 Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
| Some, but not all, GUI toolkits will register an input hook on | ||
| import. See :ref:`cp_integration` for more details. |
There was a problem hiding this comment.
My apologies, but I find these changes much more confusing than the original. What is an "input hook"? What is a "GUI toolkit", and why do they register an "input hook"? Where do they register it? and what does "on import" mean? On import of what?
Sorry, something went wrong.
There was a problem hiding this comment.
Note that there is a typo in the previous paragraph "an GUI even loop"...
Sorry, something went wrong.
There was a problem hiding this comment.
It does include a link to the (much) longer explanation.
#22169 noted that they found a case where it did work. The goal was to add a few more details about when you should expect this to work or not.
Sorry, something went wrong.
|
|
||
| If you're in a shell without input hook integration or executing a | ||
| python script, you should use `matplotlib.pyplot.show` with | ||
| ``block=True`` instead, which takes care of starting and running |
There was a problem hiding this comment.
block=True is the default?
Sorry, something went wrong.
There was a problem hiding this comment.
The default depends on if we are in "interactive mode" or not.
Sorry, something went wrong.
Co-authored-by: Oscar Gustafsson <oscar.gustafsson@gmail.com>
Co-authored-by: Jody Klymak <jklymak@gmail.com>
|
meeseeksdev backport to v3.6.x |
Sorry, something went wrong.
…607-on-v3.6.x Backport PR #24607 on branch v3.6.x (DOC: tweak wording on Figure.show warning)
| Back | FazBrowse Home | New Git URL |
PR Summary
closes #22169
PR Checklist
Documentation and Tests