Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6d7aaee

Browse filesBrowse files
committed
MAINT Deprecated spectral_r as well
1 parent 066cfe0 commit 6d7aaee
Copy full SHA for 6d7aaee

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/_cm.py

Copy file name to clipboardExpand all lines: lib/matplotlib/_cm.py
+1-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.