keplergl / kepler.gl

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
http://kepler.gl
MIT License
10.38k stars 1.74k forks source link

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

Open iGN5117 opened 1 year ago

iGN5117 commented 1 year ago

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):

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 commented 1 year ago

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

rbavery commented 1 year ago

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

ferreteleco commented 9 months ago

Is there any information on this?

jakubsatka commented 1 month ago

Any update?