No, matplotlib requires latex to be wrapped with single dollar signs, which is our inline mode. The default `latex_mode` would wrap the latex with `\equation*{begin}` and `\equation*{end}` tags, which matplotlib doesn't render in math mode.