8000 Add missing deprecation; spell out "keyword argument" · jkokorian/matplotlib@f08a0fb · GitHub
[go: up one dir, main page]

Skip to content

Commit f08a0fb

Browse files
committed
Add missing deprecation; spell out "keyword argument"
1 parent 7c9d4a6 commit f08a0fb

File tree

2 files changed

+57
-54
lines changed

2 files changed

+57
-54
lines changed

boilerplate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def %(func)s(%(argspec)s):
5757
if hold is not None:
5858
%(ax)s._hold = hold
5959
from matplotlib.cbook import mplDeprecation
60-
warnings.warn("The 'hold' kwarg is deprecated since 2.0.",
60+
warnings.warn("The 'hold' keyword argument is deprecated since 2.0.",
6161
mplDeprecation)
6262
try:
6363
%(ret)s = %(ax)s.%(func)s(%(call)s)

0 commit comments

Comments
 (0)
0