Skip to content

Commit b0f1695

Browse files
committed
Propagate signature-modifying decorators to pyplot wrappers.
1 parent cbd0409 commit b0f1695

File tree

4 files changed

+144
-97
lines changed

4 files changed

+144
-97
lines changed

lib/matplotlib/cbook/deprecation.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -362,11 +362,6 @@ def _make_keyword_only(since, name, func=None):
362362
"""
363363
Decorator indicating that passing parameter *name* (or any of the following
364364
ones) positionally to *func* is being deprecated.
365-
366-
Note that this decorator **cannot** be applied to a function that has a
367-
pyplot-level wrapper, as the wrapper always pass all arguments by keyword.
368-
If it is used, users will see spurious DeprecationWarnings every time they
369-
call the pyplot wrapper.
370365
"""
371366

372367
if func is None:

0 commit comments

Comments
 (0)