-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
[Doc]: figure.show works beyond what is documented #22169
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This needs a closer investigation, including python versions and backends. We can only broaden the usage of |
It is not the version of Python, but the GUI bindings. The ones I know off the top of my head are Qt: I suspect the re-wording should be something like "this will put the window on the screen, but you are on your own to ensure an event loop is running for the Figure to be responsive (or ever render). Use at your own risk |
closes matplotlib#22169 Co-authored-by: Tim Hoffmann <[email protected]>
closes matplotlib#22169 Co-authored-by: Tim Hoffmann <[email protected]>
@boffi , Hi I have some doubt, can I get your mail id |
@MdUmar-tech I'm not sure why asking a random user for their email would be helpful. If you have Matplotlib usage questions, please post them on https://discourse.matplotlib.org. |
Documentation Link
https://matplotlib.org/devdocs/api/figure_api.html?highlight=figure%20show#matplotlib.figure.Figure.show
Problem
From the linked documentation
I have just checked, and
figure.show()
works ALSO in a pure python shell (here it's 3.9, in Suse Tumbleweed).Suggested improvement
Specify that after version 3.x (??) of the interpreter the event loop is managed also by a vanilla Python REPL.
Matplotlib Version
3.5.1
The text was updated successfully, but these errors were encountered: