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 between
0and100. Default is50.saturation (float, optional) – If passed, luminance-hue cross-sections are drawn for this saturation. Must be between
0and100.hue (float, optional) – If passed, luminance-saturation cross-sections are drawn for this hue. Must be between
0and360.refwidth (str or float, optional) – Average width of each subplot. Units are interpreted by
units.
- Returns
Figure– The figure.
See also