colour.plotting.models.plot_RGB_colourspaces_in_chromaticity_diagram(colourspaces=None, cmfs='CIE 1931 2 Degree Standard Observer', chromaticity_diagram_callable=<function plot_chromaticity_diagram>, method='CIE 1931', show_whitepoints=True, show_pointer_gamut=False, **kwargs)[source]

Plots given RGB colourspaces in the Chromaticity Diagram according to given method.

  • colourspaces (array_like, optional) – RGB colourspaces to plot. colourspaces elements can be of any type or form supported by the colour.plotting.filter_RGB_colourspaces() definition.

  • cmfs (unicode, optional) – Standard observer colour matching functions used for computing the spectral locus boundaries. cmfs can be of any type or form supported by the colour.plotting.filter_cmfs() definition.

  • chromaticity_diagram_callable (callable, optional) – Callable responsible for drawing the Chromaticity Diagram.

  • method (unicode, optional) – {‘CIE 1931’, ‘CIE 1960 UCS’, ‘CIE 1976 UCS’}, Chromaticity Diagram method.

  • show_whitepoints (bool, optional) – Whether to display the RGB colourspaces whitepoints.

  • show_pointer_gamut (bool, optional) – Whether to display the Pointer’s Gamut.

Other Parameters

**kwargs (dict, optional) – {colour.plotting.artist(), colour.plotting.diagrams.plot_chromaticity_diagram(), colour.plotting.plot_pointer_gamut(), colour.plotting.render()}, Please refer to the documentation of the previously listed definitions.


Current figure and axes.

Return type



>>> plot_RGB_colourspaces_in_chromaticity_diagram(
...     ['ITU-R BT.709', 'ACEScg', 'S-Gamut'])
(<Figure size ... with 1 Axes>, <matplotlib.axes._subplots.AxesSubplot object at 0x...>)