colour.plotting.plot_blackbody_colours#
- colour.plotting.plot_blackbody_colours(shape: colour.colorimetry.spectrum.SpectralShape = SpectralShape(150, 12500, 50), cmfs: colour.colorimetry.spectrum.MultiSpectralDistributions | str | collections.abc.Sequence[colour.colorimetry.spectrum.MultiSpectralDistributions | str] = 'CIE 1931 2 Degree Standard Observer', **kwargs: Any) Tuple[matplotlib.figure.Figure, matplotlib.axes._axes.Axes] [source]#
Plot blackbody colours.
- Parameters
shape (colour.colorimetry.spectrum.SpectralShape) – Spectral shape to use as plot boundaries.
cmfs (colour.colorimetry.spectrum.MultiSpectralDistributions | str | collections.abc.Sequence[colour.colorimetry.spectrum.MultiSpectralDistributions | str]) – Standard observer colour matching functions used for computing the blackbody colours.
cmfs
can be of any type or form supported by thecolour.plotting.common.filter_cmfs()
definition.kwargs (Any) – {
colour.plotting.artist()
,colour.plotting.render()
}, See the documentation of the previously listed definitions.
- Returns
Current figure and axes.
- Return type
Examples
>>> plot_blackbody_colours(SpectralShape(150, 12500, 50)) ... (<Figure size ... with 1 Axes>, <...Axes...>)