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
{{ message }}
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.
Unfortunately it doesn't look like there's a way to update packages and have the notebook run smoothly from there, since the runtime needs to be restarted for the new package to be recognized. The closest possible is to have this code block at the beginning (fully hidden in jupyter-book) and then have users follow instructions in restarting after upgrading plotly:
import plotly
if plotly.__version__ < '4.8':
!pip install --upgrade plotly
print('Plotly upgraded! Now Runtime...Restart and run all.')
import os
os.kill(os.getpid(), 9) # Kills Python to force a restart.
I confirmed that the blog post works fine after running this.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Running https://colab.research.google.com/github/UBICenter/blog/blob/master/jb/20200707/adult_child_ubi.ipynb shows this error. I think it's because it's running an old version of plotly, so Colab notebooks should update plotly. cc @ngpsu22
The text was updated successfully, but these errors were encountered: