Skip to content

Commit 75d1c02

Browse files
restored warn_deprecated
1 parent 65ec539 commit 75d1c02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/_api/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ def my_func(*args, **kwargs):
305305
[lambda old1, old2: locals(), lambda new: locals()],
306306
*args, **kwargs)
307307
if "old1" in params:
308+
warn_deprecated(...)
308309
old1, old2 = params.values() # note that locals() is ordered.
309310
else:
310311
new, = params.values()

0 commit comments

Comments
 (0)