show_colors¶
- show_colors(*, nhues=17, minsat=10, unknown='User', include=None, ignore=None)[source]¶
Generate tables of the registered color names. Adapted from this example.
- Parameters
nhues (
int
, optional) – The number of breaks between hues for grouping “like colors” in the color table.minsat (
float
, optional) – The threshold saturation, between0
and100
, for designating “gray colors” in the color table.unknown (
str
, optional) – Category name for color names that are unknown to ProPlot. The default is'User'
. Set this toFalse
to hide unknown color names.include (
str
orlist
ofstr
, optional) – Category names to be shown in the table. Use this to limti the table to a subset of categories. Valid categories are'base'
,'opencolor'
,'xkcd'
,'css4'
.ignore (
str
orlist
ofstr
, optional) – Used only ifinclude
was not passed. Category names to be removed from the colormap table. Default is'CSS4'
.
- Returns
fig (
Figure
) – The figure.