colour.plotting.plot_single_cmfs¶
- colour.plotting.plot_single_cmfs(cmfs: Union[colour.colorimetry.spectrum.MultiSpectralDistributions, str, Sequence[Union[colour.colorimetry.spectrum.MultiSpectralDistributions, str]]] = 'CIE 1931 2 Degree Standard Observer', **kwargs: Any) Tuple[matplotlib.figure.Figure, matplotlib.axes._axes.Axes] [source]¶
Plot given colour matching functions.
- Parameters
cmfs (Union[colour.colorimetry.spectrum.MultiSpectralDistributions, str, Sequence[Union[colour.colorimetry.spectrum.MultiSpectralDistributions, str]]]) – Colour matching functions to plot.
cmfs
can be of any type or form supported by thecolour.plotting.filter_cmfs()
definition.kwargs (Any) – {
colour.plotting.artist()
,colour.plotting.plot_multi_cmfs()
,colour.plotting.render()
}, See the documentation of the previously listed definitions.
- Returns
Current figure and axes.
- Return type
Examples
>>> plot_single_cmfs('CIE 1931 2 Degree Standard Observer') ... (<Figure size ... with 1 Axes>, <...AxesSubplot...>)