You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We found out that the following PR: #379
ends up breaking plotly offline on page refreshes.
Upon first execution:
And upon refresh:
It seems like what we really should do is have an if statement on javascript that re-registers Plotly.
At the same time, if we want to use plotly with ipywidgets in an output widget, that check on __PLOTLY_OFFLINE_INITIALIZED in that PR would make it impossible to re-register Plotly from init_notebook_mode by any other browser connected to the same kernel or the same browser on a refresh. Again, this check to not re-register should be done on the javascript side, because it is the front end that knows whether Plotly is defined or not, not the server.