Sympy Expression as graphical tree inside IPython notebook https://gist.github.com/goerz/178811cece8e96ae5378be71b8ea904a