colour.plotting.plot_single_sd_colour_rendering_index_bars

colour.plotting.plot_single_sd_colour_rendering_index_bars(sd, **kwargs)[source]

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

Parameters

sd (SpectralDistribution) – Illuminant or light source spectral distribution to plot the Colour Rendering Index (CRI).

Other 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