-
Notifications
You must be signed in to change notification settings - Fork 79
Embedding PlotlyJS in Jupyter Notebooks #20
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Embedding should be automatic. You might try to do I don't know for sure if that will work, but that's my hunch. I've never had a problem in the notebook. Let me know how it goes |
Sounds good. In that case, I'm thinking it's a GitHub thing (sometimes it displays features of Jupyter notebooks, like LaTeX, weirdly). The plots actually looked fine on my machine even with the setup above, they just took a second to spin up. Thanks for looking into it. |
Oh yeah github definitely won't show it. Github doesn't render any external javascript, and that's how we show our plots. If you want to see it in a notebook online you should use nbviewer (just give them the link to the notebook on github) |
Ah gotcha. Ok, sweet. |
What's the best way to do this? It looks like there's an offline mode for Python that we can use with Jupyter, but I didn't find anything similar for Julia.
Update: Here's what it looks like when you view the raw plot() output in GitHub. The plot renders naturally as output in the Jupyter notebook.
The text was updated successfully, but these errors were encountered: