little hack for ipython notebook integration: render("%%inline") will display the tree on notebook