Skip to content
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

our sample notebooks should leverage our new plots #42

Open
idomic opened this issue Jun 7, 2022 · 1 comment
Open

our sample notebooks should leverage our new plots #42

idomic opened this issue Jun 7, 2022 · 1 comment

Comments

@idomic
Copy link
Contributor

idomic commented Jun 7, 2022

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)
@edublancas
Copy link
Contributor

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants