Skip to content

Commit 70e87c8

Browse files
committed
Fix the deprecation decorators
1 parent 59328e6 commit 70e87c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/rcsetup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -535,14 +535,14 @@ def validate_ps_distiller(s):
535535
ignorecase=True)
536536

537537

538-
@deprecated('3.0.0?', pending=True,
538+
@deprecated('2.1',
539539
addendum=(" See 'validate_negative_linestyle_legacy' " +
540540
"deprecation warning for more information."))
541541
def validate_negative_linestyle(s):
542542
return _validate_negative_linestyle(s)
543543

544544

545-
@deprecated('3.0.0?', pending=True,
545+
@deprecated('2.1',
546546
addendum=(" The 'contour.negative_linestyle' rcParam now " +
547547
"follows the same validation as the other rcParams " +
548548
"that are related to line style."))

0 commit comments

Comments
 (0)