colour.plotting.plot_single_sd_colour_rendering_index_bars

colour.plotting.plot_single_sd_colour_rendering_index_bars(sd: colour.colorimetry.spectrum.SpectralDistribution, **kwargs: Any) Tuple[matplotlib.figure.Figure, matplotlib.axes._axes.Axes][source]

Plot the Colour Rendering Index (CRI) of given illuminant or light source spectral distribution.

Parameters
Returns

Current figure and axes.

Return type

tuple

Examples

>>> from colour import SDS_ILLUMINANTS
>>> illuminant = SDS_ILLUMINANTS['FL2']
>>> plot_single_sd_colour_rendering_index_bars(illuminant)
... 
(<Figure size ... with 1 Axes>, <...AxesSubplot...>)
plot_single_sd_colour_rendering_index_bars