We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49ed95d commit 9af2990Copy full SHA for 9af2990
lib/matplotlib/axes/_base.py
@@ -42,6 +42,10 @@
42
is_string_like = cbook.is_string_like
43
is_sequence_of_strings = cbook.is_sequence_of_strings
44
45
+_hold_msg = """axes.hold is deprecated.
46
+ See the API Changes document (http://matplotlib.org/api/api_changes.html)
47
+ for more details."""
48
+
49
50
def _process_plot_format(fmt):
51
"""
@@ -1202,7 +1206,7 @@ def ishold(self):
1202
1206
1203
1207
return self._hold
1204
1208
1205
- @cbook.deprecated("2.0")
1209
+ @cbook.deprecated("2.0", message=_hold_msg)
1210
def hold(self, b=None):
1211
1212
Set the hold state
0 commit comments