Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c6786bb

Browse files
committed
Merge pull request matplotlib#6194 from story645/patch-1
Documentation bug fix: matplotlib#5517
2 parents 9110be0 + c97f362 commit c6786bb

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

doc/faq/usage_faq.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,9 @@ and turned off via :func:`matplotlib.pyplot.ioff`.
522522

523523
.. note::
524524
Interactive mode works with suitable backends in ipython and in
525-
the ordinary python shell, but it does *not* work in the IDLE IDE.
525+
the ordinary python shell, but it does *not* work in the IDLE IDE.
526+
If the default backend does not support interactivity, an interactive
527+
backend can be explicitly activated using any of the methods discussed in `What is a backend?`_.
526528

527529

528530
Interactive example
@@ -545,9 +547,8 @@ can type additional commands such as::
545547

546548
and you will see the plot being updated after each line. This is
547549
because you are in interactive mode *and* you are using pyplot
548-
functions. Now try an alternative method of modifying the
549-
plot. Get a
550-
reference to the :class:`~matplotlib.axes.Axes` instance, and
550+
functions. Now try an alternative method of modifying the
551+
plot. Get a reference to the :class:`~matplotlib.axes.Axes` instance, and
551552
call a method of that instance::
552553

553554
ax = plt.gca()

0 commit comments

Comments
 (0)