euporie.core.convert.formats.png.latex_to_png_py_mpl

async euporie.core.convert.formats.png.latex_to_png_py_mpl(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True) bytes

Render LaTeX as a png image using :py:module:`matplotlib`.

Borrowed from IPython.