colour.plotting.visible_spectrum_plot

colour.plotting.visible_spectrum_plot(cmfs='CIE 1931 2 Degree Standard Observer', out_of_gamut_clipping=True, **kwargs)[source]

Plots the visible colours spectrum using given standard observer CIE XYZ colour matching functions.

Parameters:
  • cmfs (unicode, optional) – Standard observer colour matching functions used for spectrum creation.
  • out_of_gamut_clipping (bool, optional) – Whether to clip out of gamut colours otherwise, the colours will be offset by the absolute minimal colour leading to a rendering on gray background, less saturated and smoother.
Other Parameters:
 

**kwargs (dict, optional) – {colour.plotting.render()}, Please refer to the documentation of the previously listed definition.

Returns:

Current figure or None.

Return type:

Figure

References

Examples

>>> visible_spectrum_plot()