neuralib.plot.tools.insert_latex_equation
- neuralib.plot.tools.insert_latex_equation(ax, tex, output=None)[source]
Plot figure with latex expression, and save as image
- Parameters:
ax (Axes) –
matplotlib.axes.Axestex (str) – latex string
output (str | Path | bytes | BinaryIO | BufferedIOBase | BufferedReader | None) – output of the fig, if None then save the figure