Skip to content

Commit

Permalink
Merge pull request #6194 from story645/patch-1
Browse files Browse the repository at this point in the history
Documentation bug fix: #5517
  • Loading branch information
tacaswell committed Mar 21, 2016
1 parent 1bd80a2 commit d74eca5
Showing 1 changed file with 5 additions and 4 deletions.
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

0 comments on commit d74eca5

Please sign in to comment.