-
-
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
Issue with using objgraph in jupyter console #32
Comments
objgraph contains code to detect when it's running in Jupyter and display the graph inline in the Jupyter console. This is very likely a bug in that code! See #23 (comment) and #28 for more details. Question: do you have https://pypi.python.org/pypi/graphviz installed? |
@mgedmin - in some cases I do see a graph inline in Jupyter but I still want to have the ability to export the plot to a file (which it doesn't seem to let me do). In the case above the graph is empty which is why I see nothing in the second case. So the inline drawing does work, it's more that it seems to then not allow exporting to files even if asked explicitly. I'll check later today if I had the PyPI graphviz package installed |
You should be able to export to a file, if you explicitly specify |
This is what I was trying and it didn't work either. I'll post specific version information when I'm back at a computer. |
That part was broken but is now fixed in a729c40. |
@rediffp is the |
If I use objgraph in an IPython session things work as expected:
However if I use
jupyter qtconsole
there is no output fromshow_backrefs
, and if I try and specify an output filename, nothing happens:what could be going on?
The text was updated successfully, but these errors were encountered: