8000 MAINT Deprecated spectral_r as well · matplotlib/matplotlib@6d7aaee · GitHub
[go: up one dir, main page]

Skip to content

Commit 6d7aaee

Browse files
committed
MAINT Deprecated spectral_r as well
1 parent 066cfe0 commit 6d7aaee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/_cm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1368,7 +1368,7 @@ def gfunc32(x):
13681368

13691369
class _deprecation_datad(dict):
13701370
def __getitem__(self, key):
1371-
if key == "spectral":
1371+
if key in ["spectral", "spectral_r"]:
13721372
warn_deprecated(
13731373
"2.0",
13741374
name="spectral",

0 commit comments

Comments
 (0)
0