The current bundled jupyter/plotly/numpy version have some limitations. For example #8, and a plotly+pandas bug while creating graphs which makes a graphed dataframe lose data (haven't even found the related issue, can provide reproduction if asked) .
In any case, it's best to use the up-to-date versions.
In #9, I tried manually upgrading it, but unexpectedly, a bunch of console issues appeared, and jupyterlite doesn't even run (see below). I haven't been able to fix them.
I successfully rebuilt the entire widget in @rgon/grist-jupyterlite-2, but it required even a new bundler.
- Python 3.13, latest pyoxide, latest jupyterlab/jupyterlite
- Allows importing ipywidgets
- The rest stays the same
If any of you are able to backport the fixes, It'd be a possibility. I haven't (although I had never worked with the internals of jupyter). If not, if the maintainers are OK with that, I could push the contents of my rewrite.
Any ideas are welcome!