colour.plotting.plot_visible_spectrum_section#

colour.plotting.plot_visible_spectrum_section(cmfs: MultiSpectralDistributions | str | Sequence[MultiSpectralDistributions | str] = 'CIE 1931 2 Degree Standard Observer', illuminant: SpectralDistribution | str = 'D65', model: LiteralColourspaceModel | str = 'CIE xyY', axis: Literal['+z', '+x', '+y'] | str = '+z', origin: float = 0.5, normalise: bool = True, show_section_colours: bool = True, show_section_contour: bool = True, **kwargs: Any) Tuple[Figure, Axes][source]#

Plot the visible spectrum volume, i.e., Rösch-MacAdam colour solid, section colours along given axis and origin.

Parameters:
Returns:

Current figure and axes.

Return type:

tuple

Examples

>>> from colour.utilities import is_trimesh_installed
>>> if is_trimesh_installed:
...     plot_visible_spectrum_section(section_colours="RGB", section_opacity=0.15)
...     
(<Figure size ... with 1 Axes>, <...Axes...>)
plot_visible_spectrum_section