kepler.gl icon indicating copy to clipboard operation
kepler.gl copied to clipboard

[Bug][Jupyter Widget] KeplerGl won't load on JupyterLab 3 and 4

Open iGN5117 opened this issue 2 years ago • 5 comments

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 Screenshot 2023-07-06 at 2 22 26 PM

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)

iGN5117 avatar Jul 06 '23 21:07 iGN5117

Hey @heshan0131 did you get a chance to take a look at this?

iGN5117 avatar Jul 10 '23 21:07 iGN5117

I've also encountered this error and the installation instructions for the jupyter widget look very out of date (it references Jupyterlab 1 and 2). Is the jupyter widget not maintained anymore?

https://docs.kepler.gl/docs/keplergl-jupyter

rbavery avatar Nov 02 '23 18:11 rbavery

Is there any information on this?

ferreteleco avatar Jan 16 '24 11:01 ferreteleco