colour.plotting.models.plot_RGB_colourspaces_in_chromaticity_diagram#

colour.plotting.models.plot_RGB_colourspaces_in_chromaticity_diagram(colourspaces: Union[RGB_Colourspace, str, Sequence[Union[RGB_Colourspace, str]]], cmfs: Union[MultiSpectralDistributions, str, Sequence[Union[MultiSpectralDistributions, str]]] = 'CIE 1931 2 Degree Standard Observer', chromaticity_diagram_callable: Callable = plot_chromaticity_diagram, method: Union[Literal['CIE 1931', 'CIE 1960 UCS', 'CIE 1976 UCS'], str] = 'CIE 1931', show_whitepoints: bool = True, show_pointer_gamut: bool = False, chromatically_adapt: bool = False, plot_kwargs: Optional[Union[Dict, List[Dict]]] = None, **kwargs: Any) Tuple[Figure, Axes][source]#

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

Parameters:
Returns:

Current figure and axes.

Return type:

tuple

Examples

>>> plot_kwargs = [
...     {"color": "r"},
...     {"linestyle": "dashed"},
...     {"marker": None},
... ]
>>> plot_RGB_colourspaces_in_chromaticity_diagram(
...     ["ITU-R BT.709", "ACEScg", "S-Gamut"], plot_kwargs=plot_kwargs
... )
... 
(<Figure size ... with 1 Axes>, <...AxesSubplot...>)
plot_RGB_colourspaces_in_chromaticity_diagram