colour.plotting.plot_single_sd_colour_rendition_report¶
- colour.plotting.plot_single_sd_colour_rendition_report(sd: colour.colorimetry.spectrum.SpectralDistribution, method: Union[Literal['Full', 'Intermediate', 'Simple'], str] = 'Full', **kwargs: Any) Tuple[matplotlib.figure.Figure, matplotlib.axes._axes.Axes] [source]¶
Generate the ANSI/IES TM-30-18 Colour Rendition Report for given spectral distribution according to given method.
- Parameters
sd (colour.colorimetry.spectrum.SpectralDistribution) – Spectral distribution of the emission source to generate the report for.
method (Union[Literal['Full', 'Intermediate', 'Simple'], str]) – Report plotting method.
kwargs (Any) – {
colour.plotting.artist()
,colour.plotting.render()
,colour.plotting.tm3018.plot_single_sd_colour_rendition_report_full()
,colour.plotting.tm3018.plot_single_sd_colour_rendition_report_intermediate()
,colour.plotting.tm3018.plot_single_sd_colour_rendition_report_simple()
} See the documentation of the previously listed definitions.
- Returns
Current figure and axes.
- Return type
Examples
>>> from colour import SDS_ILLUMINANTS >>> sd = SDS_ILLUMINANTS['FL2'] >>> plot_single_sd_colour_rendition_report(sd) ... (<Figure size ... with ... Axes>, <...AxesSubplot...>)
>>> plot_single_sd_colour_rendition_report(sd, 'Intermediate') ... (<Figure size ... with ... Axes>, <...AxesSubplot...>)
>>> plot_single_sd_colour_rendition_report(sd, 'Simple') ... (<Figure size ... with ... Axes>, <...AxesSubplot...>)