colour.plotting.plot_single_sd_colour_rendering_index_bars#

colour.plotting.plot_single_sd_colour_rendering_index_bars(sd: SpectralDistribution, **kwargs: Any) Tuple[Figure, 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>, <...Axes...>)
plot_single_sd_colour_rendering_index_bars