8000
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.
2 parents 515cce4 + bb0e29b commit f5f2cd9Copy full SHA for f5f2cd9
lib/matplotlib/cm.py
@@ -42,6 +42,13 @@ def _gen_cmap_registry():
42
colors.ListedColormap(spec['listed'], name)
43
if 'listed' in spec else
44
co 70DD lors.LinearSegmentedColormap.from_list(name, spec, _LUTSIZE))
45
+
46
+ # Register colormap aliases for gray and grey.
47
+ cmap_d['grey'] = cmap_d['gray']
48
+ cmap_d['gist_grey'] = cmap_d['gist_gray']
49
+ cmap_d['gist_yerg'] = cmap_d['gist_yarg']
50
+ cmap_d['Grays'] = cmap_d['Greys']
51
52
# Generate reversed cmaps.
53
for cmap in list(cmap_d.values()):
54
rmap = cmap.reversed()
0 commit comments