show_colors¶
-
show_colors
(*, nhues=17, minsat=10, categories=None, unknown='User')[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, between
0
and100
, for designating “gray colors” in the color table.categories (list of str, optional) – Category names to be shown in the table. By default, every category is shown except for CSS colors.
Valid categories are
'base'
,'opencolor'
,'xkcd'
,'css4'
.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.
- Returns
fig (
Figure
) – The figure.