Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ad21964

Browse files
committed
Remove deprecation warning in 'validate_negative_linestyle_legacy'
1 parent 7bd9bfe commit ad21964

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/matplotlib/rcsetup.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -541,9 +541,6 @@ def validate_negative_linestyle_legacy(s):
541541
return res
542542
except ValueError:
543543
dashes = validate_nseq_float(2)(s)
544-
warnings.warn("Deprecated negative_linestyle specification; use "
545-
"'solid' or 'dashed'",
546-
mplDeprecation)
547544
return (0, dashes) # (offset, (solid, blank))
548545

549546

0 commit comments

Comments
 (0)