keplergl / kepler.gl

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

[Bug][Jupyter Widget] #695

Open deeplook opened 5 years ago

deeplook commented 5 years ago

Description Kepler.gl widgets in classic notebooks don't render inside voila dashboards

To Reproduce Steps to reproduce the behavior:

  1. install voila
  2. render the following code in a classic notebook:
    from keplergl import KeplerGl 
    KeplerGl(height=500)
  3. Click on the "Voila" button in the notebook toolbar, see screenshot.

Expected behavior A new page should open rendering the KeplerGl widget. But instead an empty page opens with only the text "User Guide: https://github.com/keplergl/kepler.gl/blob/master/docs/keplergl-jupyter/user-guide.md". Running the code in the notebook itself does produce the widget as expected, though.

Screenshots Screenshot 2019-08-21 at 12 18 46

Environment:

heshan0131 commented 4 years ago

It should work now after keplergl-jupyter is published to unpkg. Can you try install keplergl==0.1.0 and give it a try?

I m using python 3 and it seems working for me

Screen Shot 2019-10-04 at 9 19 03 PM
deeplook commented 4 years ago

@heshan0131 Sorry, but you don't indicate how to install keplergl==0.1.0. Release 0.1.0 is not available via pip from https://pypi.org/project/keplergl/

heshan0131 commented 4 years ago

Oops..It is published now. Installation instructions here https://github.com/keplergl/kepler.gl/tree/master/bindings/kepler.gl-jupyter#installation