colour.plotting.plot_single_lightness_function¶
- colour.plotting.plot_single_lightness_function(function: Union[Callable, str], **kwargs: Any) Tuple[matplotlib.figure.Figure, matplotlib.axes._axes.Axes][source]¶
Plot given Lightness function.
- Parameters
function (Union[Callable, str]) – Lightness function to plot.
functioncan be of any type or form supported by thecolour.plotting.filter_passthrough()definition.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
Examples
>>> plot_single_lightness_function('CIE 1976') (<Figure size ... with 1 Axes>, <...AxesSubplot...>)