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
Running for instance plot_forest_hist_grad_boosting_comparison in jupyterlite raises a ValueError: Mime type rendering requires nbformat>=4.2.0 but it is not installed. I tried adding %pip install nbformat at the top of the notebook cell but that doesn't seem to work. As per this post in stackoverflow, downgrading nbformat to 5.1.2 solved this issue for me.
Suggest a potential alternative/fix
Add a magic function %pip install nbformat==5.1.2 whenever plotly is imported.
The text was updated successfully, but these errors were encountered:
Describe the issue linked to the documentation
Running for instance
plot_forest_hist_grad_boosting_comparison
in jupyterlite raises aValueError: Mime type rendering requires nbformat>=4.2.0 but it is not installed
. I tried adding%pip install nbformat
at the top of the notebook cell but that doesn't seem to work. As per this post in stackoverflow, downgradingnbformat
to5.1.2
solved this issue for me.Suggest a potential alternative/fix
Add a magic function
%pip install nbformat==5.1.2
whenever plotly is imported.The text was updated successfully, but these errors were encountered: