colour.plotting.plot_single_sd_colour_quality_scale_bars¶
-
colour.plotting.
plot_single_sd_colour_quality_scale_bars
(sd, method='NIST CQS 9.0', **kwargs)[source]¶ Plots the Colour Quality Scale (CQS) of given illuminant or light source spectral distribution.
- Parameters
sd (SpectralDistribution) – Illuminant or light source spectral distribution to plot the Colour Quality Scale (CQS).
method (unicode, optional) – {NIST CQS 7.4’}, Colour Quality Scale (CQS) computation method.
- Other Parameters
**kwargs (dict, optional) – {
colour.plotting.artist()
,colour.plotting.quality.plot_colour_quality_bars()
,colour.plotting.render()
}, Please refer to the documentation of the previously listed definitions.labels (bool, optional) – {
colour.plotting.quality.plot_colour_quality_bars()
}, Add labels above bars.hatching (bool or None, optional) – {
colour.plotting.quality.plot_colour_quality_bars()
}, Use hatching for the bars.hatching_repeat (int, optional) – {
colour.plotting.quality.plot_colour_quality_bars()
}, Hatching pattern repeat.
- Returns
Current figure and axes.
- Return type
Examples
>>> from colour import ILLUMINANTS_SDS >>> illuminant = ILLUMINANTS_SDS['FL2'] >>> plot_single_sd_colour_quality_scale_bars(illuminant) ... (<Figure size ... with 1 Axes>, <matplotlib.axes._subplots.AxesSubplot object at 0x...>)