show_cmaps¶
-
show_cmaps
(*args, N=256, length=4.0, width=0.2, unknown='User')[source]¶ Visualize all registered colormaps, or the list of colormap names if positional arguments are passed. Adapted from this example.
- Parameters
*args (colormap-spec, optional) – Positional arguments are colormap names or objects. Default is all of the registered colormaps.
N (int, optional) – The number of levels in each colorbar.
length (float or str, optional) – The length of each colorbar. Units are interpreted by
units
.width (float or str, optional) – The width of each colorbar. Units are interpreted by
units
.unknown (str, optional) – Category name for colormaps that are unknown to ProPlot. The default is
'User'
.
- Returns
Figure
– The figure instance.