colour.plotting.diagrams.plot_chromaticity_diagram#

colour.plotting.diagrams.plot_chromaticity_diagram(cmfs: colour.colorimetry.spectrum.MultiSpectralDistributions | str | collections.abc.Sequence[colour.colorimetry.spectrum.MultiSpectralDistributions | str] = 'CIE 1931 2 Degree Standard Observer', show_diagram_colours: bool = True, show_spectral_locus: bool = True, method: Union[Literal['CIE 1931', 'CIE 1960 UCS', 'CIE 1976 UCS'], str] = 'CIE 1931', **kwargs: Any) Tuple[matplotlib.figure.Figure, matplotlib.axes._axes.Axes][source]#

Plot the Chromaticity Diagram according to given method.

Parameters
Returns

Current figure and axes.

Return type

tuple

Examples

>>> plot_chromaticity_diagram()  
(<Figure size ... with 1 Axes>, <...Axes...>)
plot_chromaticity_diagram