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 49ed95d

Browse filesBrowse files
author
Nathan Goldbaum
committed
Tweak the deprecation warning for pyplot.hold
1 parent a889cff commit 49ed95d
Copy full SHA for 49ed95d

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+4
-3
lines changed

‎lib/matplotlib/pyplot.py

Copy file name to clipboardExpand all lines: lib/matplotlib/pyplot.py
+4-3Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -775,9 +775,10 @@ def figlegend(handles, labels, loc, **kwargs):
775775

776776
## Figure and Axes hybrid ##
777777

778-
_hold_msg = """Future behavior will be consistent with the long-time
779-
default: plot commands add elements without first
780-
clearing the Axes and/or Figure."""
778+
_hold_msg = """pyplot.hold is deprecated.
779+
Future behavior will be consistent with the long-time default:
780+
plot commands add elements without first clearing the
781+
Axes and/or Figure."""
781782

782783
@deprecated("2.0", message=_hold_msg)
783784
def hold(b=None):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.