I am using VSCode and Jupyter to work on Sympy. Normally, it prints the math equations in MathJax format. sympy documentation says:
In the IPython notebook, it will use MathJax to render LATEX.
MathJax output:
But, when I install matplotlib, it automatically prints as image using matplotlib.
Matplotlib output:
I have to install matplotlib to plot my results. Is there any way to force sympy to print math in MathJax format? I used
init_printing(use_latex=True)
which didn't work. Any ideas?


