-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Reloaded notebook's PlotlyJS doesn't work #45
Comments
Hey @cstjean thanks for posting. This is a known issue. I believe the problem is that when you call I belive that one way around this would be to expose a function that can be called at any time to force the Plotly Javascript to be reloaded. I haven't tried this approach yet, but am hopeful that it would work |
That's an interesting problem. FWIW, Bokeh notebooks force you to write |
The official Plotly Python package makes you do that to, so it seems eminently reasonable for us to follow suit. |
That's too bad. I really liked the magic of I'll try to patch that up soon, but if any one beats me to it -- all the better! |
Done |
Once every five notebooks or so (OSX, Julia 0.4.5, using Plots.jl), the notebook gets in a broken state, such that when I reload it, all PlotlyJS plots have disappeared, and won't come back even after restarting the notebook. The only cure is to 1. Clear all outputs, 2. Save the notebook, 3. Refresh the page. I used to have almost exactly the same problem with Bokeh in python (except that Bokeh was at least printing a red
Javascript error adding output!
message), but it didn't happen as often. My guess is that this isn't Julia specific, but I wanted to get some feedback before posting upstream. Is this a known issue?The text was updated successfully, but these errors were encountered: