Get a colormap instance, defaulting to rc values if name is None.
Colormap
or str or None, default: None
If a Colormap
instance, it will be returned. Otherwise, the name of a colormap known to Matplotlib, which will be resampled by lut. The default, None, means rcParams["image.cmap"]
(default: 'viridis'
).
If name is not already a Colormap instance and lut is not None, the colormap will be resampled to have lut entries in the lookup table.
matplotlib.pyplot.get_cmap
#
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4