Skip to content

Commit 5ee1eee

Browse files
committed
Merge pull request matplotlib#7449 from Rufflewind/master
DOC: Clarify documentation of pyplot.draw
1 parent eace7a6 commit 5ee1eee

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib/matplotlib/pyplot.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -675,10 +675,11 @@ def clf():
675675
def draw():
676676
"""Redraw the current figure.
677677
678-
This is used in interactive mode to update a figure that has been
679-
altered, but not automatically re-drawn. This should be only rarely
680-
needed, but there may be ways to modify the state of a figure with
681-
out marking it as `stale`. Please report these cases as bugs.
678+
This is used to update a figure that has been altered, but not
679+
automatically re-drawn. If interactive mode is on (:func:`.ion()`), this
680+
should be only rarely needed, but there may be ways to modify the state of
681+
a figure without marking it as `stale`. Please report these cases as
682+
bugs.
682683
683684
A more object-oriented alternative, given any
684685
:class:`~matplotlib.figure.Figure` instance, :attr:`fig`, that

0 commit comments

Comments
 (0)