colour.plotting.models.plot_RGB_colourspaces_in_chromaticity_diagram#

colour.plotting.models.plot_RGB_colourspaces_in_chromaticity_diagram(colourspaces: colour.models.rgb.rgb_colourspace.RGB_Colourspace | str | collections.abc.Sequence[colour.models.rgb.rgb_colourspace.RGB_Colourspace | str], cmfs: colour.colorimetry.spectrum.MultiSpectralDistributions | str | collections.abc.Sequence[colour.colorimetry.spectrum.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[matplotlib.figure.Figure, matplotlib.axes._axes.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>, <...Axes...>)
plot_RGB_colourspaces_in_chromaticity_diagram