colour.plotting.plot_blackbody_spectral_radiance¶
- colour.plotting.plot_blackbody_spectral_radiance(temperature: float = 3500, cmfs: Union[colour.colorimetry.spectrum.MultiSpectralDistributions, str, Sequence[Union[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 (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.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>, <...AxesSubplot...>)