I'm trying to get the printing to work with Google Colaboratory.
I've updated the Sympy version to 1.3 using !pip install --upgrade Sympy
, but the magical line
sp.init_printing(use_unicode=True)
Does not work. And also, use_latex
is not as beautiful as you hope it would be.
sp.init_printing(use_latex='True')
What I currently do is to copy the LaTeX code Sympy produces into a text block. Is there a better solution?
UPDATE: My question is a duplicate of here, And the answer there works great.