##// END OF EJS Templates
Using inline mode for rendering sympy Expr to latex.
Brian Granger -
Show More
@@ -34,7 +34,7 b' def print_basic_unicode(o, p, cycle):'
34
34
35 def print_png(o):
35 def print_png(o):
36 """A funciton to display sympy expression using LaTex -> PNG."""
36 """A funciton to display sympy expression using LaTex -> PNG."""
37 s = latex(o)
37 s = latex(o, mode='inline')
38 png = latex_to_png(s, encode=True)
38 png = latex_to_png(s, encode=True)
39 return png
39 return png
40
40
General Comments 0
You need to be logged in to leave comments. Login now