-
-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get to work on Ipython #23
Comments
You've asked for the output to be written into a StringIO(). objgraph dutifully writes it there. Since you don't even keep a reference to the StringIO(), you won't ever see the output. What happens if you use |
Thanks for the response. Makes sense. I was trying to figure out the IPython file like type equivalent. In any case, I ran this:
And I just got this. No graphs.
|
So xdot doesn't work on Windows? Strange/sad. There's probably some way to detect the Jupyter/IPython web console and integrate with it nicely. I wish I knew how. It would be nicer than opening a standalone graph viewer window anyway. |
Rather simple way to display graph in jupyter is to use objgraph together with graphviz package:
|
This is now implemented in git master (thank you @account-login for the PR!). I'd appreciate reports whether it works well enough, and whether the documentation is sufficient. (E.g. I think you need a 3rd-party package ( |
I'm sorry if this seems like a dumb question, but I'm running Jupyter, Python 2.7, Windows, and Ipython notebook. I have installed graphviz and xdot.
I don't see anything when I run this.
The text was updated successfully, but these errors were encountered: