colour.plotting.plot_single_illuminant_sd¶
- colour.plotting.plot_single_illuminant_sd(illuminant: Union[colour.colorimetry.spectrum.SpectralDistribution, str], cmfs: Union[colour.colorimetry.spectrum.MultiSpectralDistributions, str, Sequence[Union[colour.colorimetry.spectrum.MultiSpectralDistributions, str]]] = 'CIE 1931 2 Degree Standard Observer', **kwargs: Any) Tuple[matplotlib.figure.Figure, matplotlib.axes._axes.Axes] [source]¶
Plot given single illuminant spectral distribution.
- Parameters
illuminant (Union[colour.colorimetry.spectrum.SpectralDistribution, str]) – Illuminant to plot.
illuminant
can be of any type or form supported by thecolour.plotting.filter_illuminants()
definition.cmfs (Union[colour.colorimetry.spectrum.MultiSpectralDistributions, str, Sequence[Union[colour.colorimetry.spectrum.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.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...>)