colour.plotting.spds_chromaticity_diagram_plot_CIE1931

colour.plotting.spds_chromaticity_diagram_plot_CIE1931(spds, cmfs='CIE 1931 2 Degree Standard Observer', annotate=True, chromaticity_diagram_callable_CIE1931=<function chromaticity_diagram_plot_CIE1931>, **kwargs)[source]

Plots given spectral power distribution chromaticity coordinates into the CIE 1931 Chromaticity Diagram.

Parameters:
  • spds (array_like, optional) – Spectral power distributions to plot.
  • cmfs (unicode, optional) – Standard observer colour matching functions used for diagram bounds.
  • annotate (bool) – Should resulting chromaticity coordinates annotated with their respective spectral power distribution names.
  • 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

Examples

>>> from colour import ILLUMINANTS_RELATIVE_SPDS
>>> A = ILLUMINANTS_RELATIVE_SPDS['A']
>>> D65 = ILLUMINANTS_RELATIVE_SPDS['D65']
>>> spds_chromaticity_diagram_plot_CIE1931([A, D65])