projects
projects copied to clipboard
our sample notebooks should leverage our new plots
Some of the notebooks are still based on pygraphviz (plotting via Ipython Image):
from IPython.display import Image
Image(filename='pipeline.png')
We should fix that to the new mechanism (D3), and slowly migrate away from pygraphviz.
We can use this snippet to achieve the same results:
from IPython.display import IFrame
IFrame(src='pipeline.html', width=700, height=600)
Note: I edited the original comment. I ran a quick test and IPython.display.IFrame
works (IPython.display.HTML
does not since it only loads HTML but does not execute JS, which is needed to render the image)