- register_cycles(*args, user=None, default=False)[source]¶
Register named color cycles. This is called on import.
DiscreteColormap, optional) – The color cycles to register. These can be file paths containing RGB data or
DiscreteColormapinstances. By default, if positional arguments are passed, then
useris set to
Valid file extensions are listed in the below table. Note that color cycles are registered according to their filenames – for example,
name.xyzwill be registered as
Comma-delimited list of HEX strings.
3-4 column table of channel values.
bool, optional) – Whether to reload color cycles from
user_folder. Default is
Falseif positional arguments were passed and
bool, optional) – Whether to reload the default color cycles packaged with proplot. Default is always