colour.plotting.plot_RGB_colourspace_section#

colour.plotting.plot_RGB_colourspace_section(colourspace: RGB_Colourspace | LiteralRGBColourspace | str | Sequence[RGB_Colourspace | LiteralRGBColourspace | str], model: LiteralColourspaceModel | str = 'CIE xyY', axis: Literal['+z', '+x', '+y'] | str = '+z', origin: float = 0.5, normalise: bool = True, size: float = 1.0, show_section_colours: bool = True, show_section_contour: bool = True, segments: int = 64, **kwargs: Any) Tuple[Figure, Axes][source]#

Plot given RGB colourspace 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_RGB_colourspace_section(
...         "sRGB", section_colours="RGB", section_opacity=0.15
...     )
...     
(<Figure size ... with 1 Axes>, <...Axes...>)
plot_RGB_colourspace_section