[Bug][Jupyter Widget] KeplerGl won't load on JupyterLab 3 and 4
- Dominant language
- TypeScript
- Stars
- 12k
- Forks
- 2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 66
Description
**Describe the bug**
Basic KeplerGl map widget is not loading on JupyterLab 4.0.2. I get an "error displaying widget" message as output of the cell.
I also face this in JupyterLab 3, when I install keplerGl on the fly in a cell (not via pipfile), However if I reload the notebook and run the cell, the map is rendered as expected.
This works as expected, for both on the fly and pipfile installation when working with Jupyter Notebook 6.0.0.
**To Reproduce**
Steps to reproduce the behavior:
1. Load kepler
2. Add data (GeoPandas DataFrame in my case) and set config (optional).
3. Display map
**Expected behavior**
The map should be rendered.
**Screenshots**

**Environment (please complete the following information):**
- Python version: 3.9
- keplergl Widget version 0.3.2
- JupyterLab 4.0.2
**Additional context**
Output of jupyter labextension list:
JupyterLab v4.0.2
/srv/conda/envs/notebook/share/jupyter/labextensions
jupyter-offlinenotebook v0.2.2 enabled X
jupyterlab_pygments v0.2.2 enabled X (python, jupyterlab_pygments)
keplergl-jupyter v0.3.2 enabled X
@jupyter-widgets/jupyterlab-manager v3.1.4 enabled X (python, jupyterlab_widgets)
@jupyter-server/resource-usage v0.7.1 enabled X (python, jupyter-resource-usage)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.