fast_lisa_subtraction.utils.plot module

fast_lisa_subtraction.utils.plot.latexify(plot_func)[source]

Apply LaTeX-style rcParams to a matplotlib plotting function.

Parameters:

plot_func (callable) – Plotting function to wrap.

Returns:

Wrapped plotting function with LaTeX-related rcParams applied.

Return type:

callable

Notes

If a latex executable is available, text rendering is switched to LaTeX and the amsmath package is enabled.