Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2daee2 commit a8a769dCopy full SHA for a8a769d
lib/matplotlib/_cm.py
@@ -1384,11 +1384,11 @@ def __getitem__(self, key):
1384
"Vega20b_r", "Vega20c", "Vega20c_r"]:
1385
warn_deprecated(
1386
"2.0",
1387
- name="Vega colormaps",
1388
- alternative="tab",
+ name=key,
+ alternative="tab" + key[4:],
1389
obj_type="colormap"
1390
)
1391
-
+
1392
return super(_deprecation_datad, self).__getitem__(key)
1393
1394
0 commit comments