colour.plotting.diagrams.plot_spectral_locus#

colour.plotting.diagrams.plot_spectral_locus(cmfs: Union[MultiSpectralDistributions, str, Sequence[Union[MultiSpectralDistributions, str]]] = 'CIE 1931 2 Degree Standard Observer', spectral_locus_colours: Optional[Union[ArrayLike, str]] = None, spectral_locus_opacity: float = 1, spectral_locus_labels: Optional[Sequence] = None, method: Union[Literal['CIE 1931', 'CIE 1960 UCS', 'CIE 1976 UCS'], str] = 'CIE 1931', **kwargs: Any) Tuple[Figure, Axes][source]#

Plot the Spectral Locus according to given method.

Parameters:
Returns:

Current figure and axes.

Return type:

tuple

Examples

>>> plot_spectral_locus(spectral_locus_colours="RGB")  
(<Figure size ... with 1 Axes>, <...AxesSubplot...>)
plot_spectral_locus