Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Labels
Milestone
Description
Documentation Link
Problem
From the linked documentation
Proper use cases for Figure.show include running this from a GUI application or an IPython shell.
If you're running a pure python shell or executing a non-GUI python script, you should use
matplotlib.pyplot.show
instead, which takes care of managing the event loop for you.
I have just checked, andfigure.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