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

Skip to content

Commit c4412e7

Browse files
authored
Merge pull request #21004 from anntzer/da
Remove now-unused rcParams _deprecated entries.
2 parents cb17118 + 1586fb5 commit c4412e7

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

lib/matplotlib/__init__.py

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -575,24 +575,13 @@ def gen_candidates():
575575
# rcParams deprecated and automatically mapped to another key.
576576
# Values are tuples of (version, new_name, f_old2new, f_new2old).
577577
_deprecated_map = {}
578-
579578
# rcParams deprecated; some can manually be mapped to another key.
580579
# Values are tuples of (version, new_name_or_None).
581-
_deprecated_ignore_map = {
582-
'mpl_toolkits.legacy_colorbar': ('3.4', None),
583-
}
584-
580+
_deprecated_ignore_map = {}
585581
# rcParams deprecated; can use None to suppress warnings; remain actually
586-
# listed in the rcParams (not included in _all_deprecated).
582+
# listed in the rcParams.
587583
# Values are tuples of (version,)
588-
_deprecated_remain_as_none = {
589-
'animation.avconv_path': ('3.3',),
590-
'animation.avconv_args': ('3.3',),
591-
'animation.html_args': ('3.3',),
592-
}
593-
594-
595-
_all_deprecated = {*_deprecated_map, *_deprecated_ignore_map}
584+
_deprecated_remain_as_none = {}
596585

597586

598587
@docstring.Substitution(

0 commit comments

Comments
 (0)