colour.plotting.diagrams.plot_chromaticity_diagram¶
-
colour.plotting.diagrams.
plot_chromaticity_diagram
(cmfs='CIE 1931 2 Degree Standard Observer', show_diagram_colours=True, show_spectral_locus=True, method='CIE 1931', **kwargs)[source]¶ Plots the Chromaticity Diagram according to given method.
- Parameters
cmfs (unicode, optional) – Standard observer colour matching functions used for Chromaticity Diagram bounds.
show_diagram_colours (bool, optional) – Whether to display the Chromaticity Diagram background colours.
show_spectral_locus (bool, optional) – Whether to display the Spectral Locus.
method (unicode, optional) – {‘CIE 1931’, ‘CIE 1960 UCS’, ‘CIE 1976 UCS’}, Chromaticity Diagram method.
- Other Parameters
**kwargs (dict, optional) – {
colour.plotting.artist()
,colour.plotting.diagrams.plot_spectral_locus()
,colour.plotting.diagrams.plot_chromaticity_diagram_colours()
,colour.plotting.render()
}, Please refer to the documentation of the previously listed definitions.- Returns
Current figure and axes.
- Return type
Examples
>>> plot_chromaticity_diagram() (<Figure size ... with 1 Axes>, <matplotlib.axes._subplots.AxesSubplot object at 0x...>)