show_cmaps¶
-
show_cmaps
(*args, **kwargs)[source]¶ Generate a table of the registered colormaps or the input colormaps categorized by source. Adapted from this example.
- Parameters
*args (colormap-spec, optional) – Colormap names or objects.
N (int, optional) – The number of levels in each colorbar. Default is
rc[‘image.lut’]
=256
.unknown (str, optional) – Category name for colormaps that are unknown to ProPlot. The default is
'User'
. Set this toFalse
to hide unknown colormaps.length (float or str, optional) – The length of the colorbars. Units are interpreted by
units
.width (float or str, optional) – The width of the colorbars. Units are interpreted by
units
.
- Returns
Figure
– The figure.