style#

Utility functions for styling Matplotlib plots.

Functions

plot_with_custom_style(plotting_function)

Wrap a plotting function with a context manager to set the plot style.

data_morph.plotting.style.plot_with_custom_style(plotting_function: Callable) Callable[source]#

Wrap a plotting function with a context manager to set the plot style.

Parameters:

plotting_function (Callable) – The plotting function.

Returns:

The decorated plotting function.

Return type:

Callable