colour.plotting.planckian_locus_chromaticity_diagram_plot_CIE1931

colour.plotting.planckian_locus_chromaticity_diagram_plot_CIE1931(illuminants=None, chromaticity_diagram_callable_CIE1931=<function chromaticity_diagram_plot_CIE1931>, **kwargs)[source]

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

Parameters:
  • illuminants (array_like, optional) – Factory illuminants to plot.
  • chromaticity_diagram_callable_CIE1931 (callable, optional) – Callable responsible for drawing the CIE 1931 Chromaticity Diagram.
Other Parameters:
 
Returns:

Current figure or None.

Return type:

Figure

Raises:

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

Examples

>>> planckian_locus_chromaticity_diagram_plot_CIE1931(['A', 'B', 'C'])
...