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, default:'User') – Category name for cycles that are unknown to proplot. Set this toFalseto hide unknown colormaps.include (
stror sequence ofstr, default:None) – 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 (
stror sequence ofstr, default:None) – Used only ifincludewas not passed. Category names to be removed from the table.length (
unit-spec, optional) – The length of each colorbar. If float, units are inches. If string, interpreted byunits.width (
floatorstr, optional) – The width of each colorbar. If float, units are inches. If string, interpreted byunits.rasterized (
bool, default:rc['colorbar.rasterized']=False) – Whether to rasterize the colorbar solids. This increases rendering time and decreases file sizes for vector graphics.
- Returns
proplot.figure.Figure– The figure.proplot.gridspec.SubplotGrid– The subplot grid.
See also