colour.plotting.quality Module

Colour Quality Plotting

Defines the colour quality plotting objects:

colour.plotting.quality.colour_quality_bars_plot(specification, **kwargs)[source]

Plots the colour quality data of given illuminant or light source colour quality specification.

Parameters:
  • specification (CRI_Specification or VS_ColourQualityScaleData) – Illuminant or light source specification colour quality specification.
  • **kwargs (**) – Keywords arguments.
Returns:

Definition success.

Return type:

bool

Examples

>>> from colour import ILLUMINANTS_RELATIVE_SPDS
>>> illuminant = ILLUMINANTS_RELATIVE_SPDS.get('F2')
>>> colour_quality_bars_plot(illuminant)  
True
colour.plotting.quality.colour_rendering_index_bars_plot(spd, **kwargs)[source]

Plots the colour rendering index of given illuminant or light source.

Parameters:
  • spd (SpectralPowerDistribution) – Illuminant or light source to plot the colour rendering index.
  • **kwargs (**) – Keywords arguments.
Returns:

Definition success.

Return type:

bool

Examples

>>> from colour import ILLUMINANTS_RELATIVE_SPDS
>>> illuminant = ILLUMINANTS_RELATIVE_SPDS.get('F2')
>>> colour_rendering_index_bars_plot(illuminant)  
True
colour.plotting.quality.colour_quality_scale_bars_plot(spd, **kwargs)[source]

Plots the colour quality scale of given illuminant or light source.

Parameters:
  • spd (SpectralPowerDistribution) – Illuminant or light source to plot the colour quality scale.
  • **kwargs (**) – Keywords arguments.
Returns:

Definition success.

Return type:

bool

Examples

>>> from colour import ILLUMINANTS_RELATIVE_SPDS
>>> illuminant = ILLUMINANTS_RELATIVE_SPDS.get('F2')
>>> colour_quality_scale_bars_plot(illuminant)  
True