X Tutup
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions doc/faq/usage_faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,9 @@ and turned off via :func:`matplotlib.pyplot.ioff`.

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


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

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

ax = plt.gca()
Expand Down
X Tutup