colour.plotting.plot_single_illuminant_sd#
- colour.plotting.plot_single_illuminant_sd(illuminant: Union[SpectralDistribution, str], cmfs: Union[MultiSpectralDistributions, str, Sequence[Union[MultiSpectralDistributions, str]]] = 'CIE 1931 2 Degree Standard Observer', **kwargs: Any) Tuple[Figure, Axes] [source]#
Plot given single illuminant spectral distribution.
- Parameters:
illuminant (Union[SpectralDistribution, str]) – Illuminant to plot.
illuminant
can be of any type or form supported by thecolour.plotting.common.filter_illuminants()
definition.cmfs (Union[MultiSpectralDistributions, str, Sequence[Union[MultiSpectralDistributions, str]]]) – Standard observer colour matching functions used for computing the spectrum domain and colours.
cmfs
can be of any type or form supported by thecolour.plotting.common.filter_cmfs()
definition.kwargs (Any) – {
colour.plotting.artist()
,colour.plotting.plot_single_sd()
,colour.plotting.render()
}, See the documentation of the previously listed definitions.
- Returns:
Current figure and axes.
- Return type:
References
[Spi15]
Examples
>>> plot_single_illuminant_sd("A") (<Figure size ... with 1 Axes>, <...AxesSubplot...>)