@@ -2614,11 +2614,13 @@ def show(self, warn=True):
2614
2614
may only be shown briefly or not shown at all if you or your
2615
2615
environment are not managing an event loop.
2616
2616
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
2618
2618
application (where there is persistently an event loop running) or
2619
- from a shell with an input hook configured (IPython will do this).
2620
- Some, but not all, GUI toolkits will register an input hook on
2621
- import. See :ref:`cp_integration` for more details.
2619
+ from a shell, like IPython, that install an input hook to allow the
2620
+ interactive shell to accept input while the figure is also being
2621
+ shown and interactive. Some, but not all, GUI toolkits will
2622
+ register an input hook on import. See :ref:`cp_integration` for
2623
+ more details.
2622
2624
2623
2625
If you're in a shell without input hook integration or executing a
2624
2626
python script, you should use `matplotlib.pyplot.show` with
@@ -2630,6 +2632,7 @@ def show(self, warn=True):
2630
2632
warn : bool, default: True
2631
2633
If ``True`` and we are not running headless (i.e. on Linux with an
2632
2634
unset DISPLAY), issue warning when called on a non-GUI backend.
2635
+
2633
2636
"""
2634
2637
if self .canvas .manager is None :
2635
2638
raise AttributeError (