Skip to content

Navigation Menu

Sign in
Appearance settings

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

Appearance settings

Commit 86b32ca

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

File tree

1 file changed

+5
-4
lines changed
Filter options

1 file changed

+5
-4
lines changed

‎lib/matplotlib/pyplot.py

Copy file name to clipboardExpand all lines: lib/matplotlib/pyplot.py
+5-4Lines 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 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.