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 5ee1eee

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

File tree

Expand file treeCollapse file tree

1 file changed

+5
-4
lines changed
Filter options
Expand file treeCollapse file tree

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
@@ -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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.