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 b0f1695

Browse filesBrowse files
committed
Propagate signature-modifying decorators to pyplot wrappers.
1 parent cbd0409 commit b0f1695
Copy full SHA for b0f1695

File tree

Expand file treeCollapse file tree

4 files changed

+144
-97
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+144
-97
lines changed

‎lib/matplotlib/cbook/deprecation.py

Copy file name to clipboardExpand all lines: lib/matplotlib/cbook/deprecation.py
-5Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.