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, default:50) – If passed, saturation-hue cross-sections are drawn for this luminance. Must be between0and100.saturation (
float, optional) – If passed, luminance-hue cross-sections are drawn for this saturation. Must be between0and100.hue (
float, optional) – If passed, luminance-saturation cross-sections are drawn for this hue. Must be between0and360.refwidth (
strorfloat, optional) – Average width of each subplot. Units are interpreted byunits.
- Returns:
ultraplot.figure.Figure– The figure.ultraplot.gridspec.SubplotGrid– The subplot grid.
See also