Bases: ColormapRegistry
Dictionary subclass used to replace the matplotlib colormap registry. See __getitem__
and __setitem__
for details.
kwargs (dict-like) – The source dictionary.
Methods Summary
get_cmap
(cmap)
Return a color map specified through cmap.
register
(cmap, *[, name, force])
Add the colormap after validating and converting.
Methods Documentation
Return a color map specified through cmap.
cmap (str
or Colormap
or None
) –
if a Colormap
, return it
if a string, look it up in mpl.colormaps
if None, return the Colormap defined in rc['image.cmap']
= 'Fire'
Colormap
Add the colormap after validating and converting.
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