Skip to content

Commit dee5614

Browse files
tacaswelljklymak
andauthored
DOC: clarify wording
Co-authored-by: Jody Klymak <jklymak@gmail.com>
1 parent e3252a6 commit dee5614

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/matplotlib/figure.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2614,9 +2614,10 @@ def show(self, warn=True):
26142614
may only be shown briefly or not shown at all if you or your
26152615
environment are not managing an event loop.
26162616
2617-
Proper use cases for `.Figure.show` include running this from a GUI
2617+
Use cases for `.Figure.show` include running this from a GUI
26182618
application (where there is persistently an event loop running) or
2619-
from a shell with an input hook configured (IPython will do this).
2619+
from a shell, like IPython, that install an input hook to allow the interactive
2620+
shell to accept input while the figure is also being shown and interactive.
26202621
Some, but not all, GUI toolkits will register an input hook on
26212622
import. See :ref:`cp_integration` for more details.
26222623

0 commit comments

Comments
 (0)