3

I used to use ipython notebook for displaying equations while using simpy module. As can be seen from the figure below it is neat and elegant.

ipython notebook equation display

It seems I have made some updates and I no more have ipython notebook; every time I run it, it switches back to Jupyter (I guess that is a new name after 4). Unfortunately, printing equation doesn't work as it used to yet I can type latex as Markdown text(see figure below). Am I missing something?

jupyter notebook equation display

Thomas K
  • 39,200
  • 7
  • 84
  • 86
hashmuke
  • 3,075
  • 2
  • 18
  • 29
  • see: http://stackoverflow.com/questions/16152040/ipython-notebook-sympy-math-rendering – cel Mar 28 '16 at 16:58
  • There was a wrong attachment sorry for that. I am actually using `from sympy.interactive import printing printing.init_printing(use_latex=True)` – hashmuke Mar 28 '16 at 17:05

1 Answers1

1

So finally it is working thanks to this reddit post. I just needed to update sympy module.

pip install -U sympy
hashmuke
  • 3,075
  • 2
  • 18
  • 29
  • 1
    Yep, there is a bug in Jupyter printing in SymPy version 0.7.6. The patch fix 0.7.6.1 or the newest version (1.0) have fixed this bug. – asmeurer Mar 29 '16 at 19:39