8000 Clarify documentation of pyplot.draw · matplotlib/matplotlib@f0e6d01 · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

8000
Appearance settings

Commit f0e6d01

Browse files
committed
Clarify documentation of pyplot.draw
See #7432.
1 parent c6a9b5d commit f0e6d01

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib/matplotlib/pyplot.py

Lines changed: 5 additions & 4 deletions
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 fi 7500 gure 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)
0