show_colorspaces¶
- show_colorspaces(*, luminance=None, saturation=None, hue=None, refwidth=2)[source]¶
Generate hue-saturation, hue-luminance, and luminance-saturation cross-sections for the HCL, HSL, and HPL colorspaces.
- Parameters
luminance (
float
, optional) – If passed, saturation-hue cross-sections are drawn for this luminance. Must be between0
and100
. Default is50
.saturation (
float
, optional) – If passed, luminance-hue cross-sections are drawn for this saturation. Must be between0
and100
.hue (
float
, optional) – If passed, luminance-saturation cross-sections are drawn for this hue. Must be between0
and360
.refwidth (
str
orfloat
, optional) – Average width of each subplot. Units are interpreted byunits
.
- Returns
Figure
– The figure.
See also