colour.plotting.temperature Module

Colour Temperature & Correlated Colour Temperature Plotting

Defines the colour temperature and correlated colour temperature plotting objects:

colour.plotting.temperature.planckian_locus_CIE_1931_chromaticity_diagram_plot(illuminants=None, **kwargs)[source]

Plots the planckian locus and given illuminants in CIE 1931 Chromaticity Diagram.

Parameters:

illuminants (array_like, optional) – Factory illuminants to plot.

Other Parameters:
 
  • **kwargs (dict, optional) – {boundaries(), canvas(), decorate(), display()}, Please refer to the documentation of the previously listed definitions.
  • show_diagram_colours (bool, optional) – {CIE_1931_chromaticity_diagram_plot()}, Whether to display the chromaticity diagram background colours.
Returns:

Current figure or None.

Return type:

Figure

Raises:

KeyError – If one of the given illuminant is not found in the factory illuminants.

Examples

>>> ils = ['A', 'B', 'C']
>>> planckian_locus_CIE_1931_chromaticity_diagram_plot(
...     ils)  
colour.plotting.temperature.planckian_locus_CIE_1960_UCS_chromaticity_diagram_plot(illuminants=None, **kwargs)[source]

Plots the planckian locus and given illuminants in CIE 1960 UCS Chromaticity Diagram.

Parameters:

illuminants (array_like, optional) – Factory illuminants to plot.

Other Parameters:
 
  • **kwargs (dict, optional) – {boundaries(), canvas(), decorate(), display()}, Please refer to the documentation of the previously listed definitions.
  • show_diagram_colours (bool, optional) – {CIE_1960_UCS_chromaticity_diagram_plot()}, Whether to display the chromaticity diagram background colours.
Returns:

Current figure or None.

Return type:

Figure

Raises:

KeyError – If one of the given illuminant is not found in the factory illuminants.

Examples

>>> ils = ['A', 'C', 'E']
>>> planckian_locus_CIE_1960_UCS_chromaticity_diagram_plot(
...     ils)