colour.plotting.plot_single_cctf#

colour.plotting.plot_single_cctf(cctf: Union[Callable, str], cctf_decoding: bool = False, **kwargs: Any) Tuple[matplotlib.figure.Figure, matplotlib.axes._axes.Axes][source]#

Plot given colourspace colour component transfer function.

Parameters
  • cctf (Union[Callable, str]) – Colour component transfer function to plot. function can be of any type or form supported by the colour.plotting.common.filter_passthrough() definition.

  • cctf_decoding (bool) – Plot the decoding colour component transfer function instead.

  • kwargs (Any) – {colour.plotting.artist(), colour.plotting.plot_multi_functions(), colour.plotting.render()}, See the documentation of the previously listed definitions.

Returns

Current figure and axes.

Return type

tuple

Examples

>>> plot_single_cctf("ITU-R BT.709")  
(<Figure size ... with 1 Axes>, <...Axes...>)
plot_single_cctf