Skip to content

Commit 86b32ca

Browse files
authored
Merge pull request matplotlib#7449 from Rufflewind/master
DOC: Clarify documentation of pyplot.draw
2 parents 901562f + f0e6d01 commit 86b32ca

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
@@ -674,10 +674,11 @@ def clf():
674674
def draw():
675675
"""Redraw the current figure.
676676
677-
This is used in interactive mode to update a figure that has been
678-
altered, but not automatically re-drawn. This should be only rarely
679-
needed, but there may be ways to modify the state of a figure with
680-
out marking it as `stale`. Please report these cases as bugs.
677+
This is used to update a figure that has been altered, but not
678+
automatically re-drawn. If interactive mode is on (:func:`.ion()`), this
679+
should be only rarely needed, but there may be ways to modify the state of
680+
a figure without marking it as `stale`. Please report these cases as
681+
bugs.
681682
682683
A more object-oriented alternative, given any
683684
:class:`~matplotlib.figure.Figure` instance, :attr:`fig`, that

0 commit comments

Comments
 (0)