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 toFalseto hide unknown colormaps.include (
stror 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 (
stror sequence ofstr, optional) – 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.rasterize (
bool, optional) – Whether to rasterize the colorbar solids. This increases rendering time and decreases file sizes for vector graphics. Default isrc['colorbar.rasterize']=False.
- Returns
proplot.figure.Figure– The figure.proplot.gridspec.SubplotGrid– The subplot grid.
See also