colour.plotting.plot_blackbody_spectral_radiance#
- colour.plotting.plot_blackbody_spectral_radiance(temperature: float = 3500, cmfs: colour.colorimetry.spectrum.MultiSpectralDistributions | str | collections.abc.Sequence[colour.colorimetry.spectrum.MultiSpectralDistributions | str] = 'CIE 1931 2 Degree Standard Observer', blackbody: str = 'VY Canis Major', **kwargs: Any) Tuple[matplotlib.figure.Figure, matplotlib.axes._axes.Axes] [source]#
Plot given blackbody spectral radiance.
- Parameters
temperature (float) – Blackbody temperature.
cmfs (colour.colorimetry.spectrum.MultiSpectralDistributions | str | collections.abc.Sequence[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.common.filter_cmfs()
definition.blackbody (str) – Blackbody name.
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
Examples
>>> plot_blackbody_spectral_radiance(3500, blackbody="VY Canis Major") ... (<Figure size ... with 2 Axes>, <...Axes...>)