colour.plotting.multi_spd_colour_rendering_index_bars_plot¶
-
colour.plotting.
multi_spd_colour_rendering_index_bars_plot
(spds, **kwargs)[source]¶ Plots the Colour Rendering Index (CRI) of given illuminants or light sources spectral power distributions.
Parameters: spds (array_like) – Array of illuminants or light sources spectral power distributions to plot the Colour Rendering Index (CRI).
Other Parameters: - **kwargs (dict, optional) – {
colour.plotting.render()
}, Please refer to the documentation of the previously listed definition. - labels (bool, optional) – {
colour.plotting.quality.colour_quality_bars_plot()
}, Add labels above bars. - hatching (bool or None, optional) – {
colour.plotting.quality.colour_quality_bars_plot()
}, Use hatching for the bars. - hatching_repeat (int, optional) – {
colour.plotting.quality.colour_quality_bars_plot()
}, Hatching pattern repeat.
Returns: Current figure or None.
Return type: Figure
Examples
>>> from colour import (ILLUMINANTS_RELATIVE_SPDS, ... LIGHT_SOURCES_RELATIVE_SPDS) >>> illuminant = ILLUMINANTS_RELATIVE_SPDS['F2'] >>> light_source = LIGHT_SOURCES_RELATIVE_SPDS['Kinoton 75P'] >>> multi_spd_colour_rendering_index_bars_plot([illuminant, light_source]) ...
- **kwargs (dict, optional) – {