show_cycles¶
- show_cycles(*args, **kwargs)[source]¶
Generate a table of registered color cycles or the input color cycles categorized by source. Adapted from this example.
- Parameters
*args (
colormap-spec
, optional) – Cycle names or objects.unknown (
str
, optional) – Category name for cycles that are unknown to proplot. The default is'User'
. Set this toFalse
to hide unknown colormaps.include (
str
or sequence ofstr
, optional) – Category names to be shown in the table. Use this to limit the table to a subset of categories. Valid categories are'Matplotlib defaults'
,'Matplotlib stylesheets'
,'ColorBrewer2.0 qualitative'
,'Other qualitative'
.ignore (
str
or sequence ofstr
, optional) – Used only ifinclude
was not passed. Category names to be removed from the table.length (
unit-spec
, optional) – The length of the colorbars. If float, units are inches. If string, interpreted byunits
.width (
float
orstr
, optional) – The width of the colorbars. If float, units are inches. If string, interpreted byunits
.
- Returns
proplot.figure.Figure
– The figure.proplot.gridspec.SubplotGrid
– The subplot grid.
See also