-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish kepler.gl for jupyter notebook #331
Comments
May i ask any notebook template or example for this feature? |
This work is still in progress |
Links to deck.gl Python RFC |
Target release date: next sprint |
to-do:
Launch Plan:
|
Any date for release ? |
Any update about the release date? |
Hi Briantcl, any update on the launch plan ? |
Are there plans to support Jupyter lab? I am able to test it with jupyter notebook and it works. :) |
FYI - https://medium.com/vis-gl/introducing-kepler-gl-for-jupyter-f72d41659fbf - I hadn't seen this and was thinking it wasn't released yet. Very exciting! Thank you! |
I have hacked together some JupyterLab support. There is currently a JuptyerLab plugin in this repo, but it isn't being built currently, as far as I can tell. To use this with JupyterLab 1.0: conda create -n kepler-jupyterlab -c conda-forge jupyterlab=1.0.0
conda activate kepler-jupyterlab
pip install ipywidgets keplergl
jupyter labextension install @jupyter-widgets/jupyterlab-manager
git clone [email protected]:saulshanabrook/kepler.gl.git
cd kepler.gl/bindings/kepler.gl-jupyter/js
yarn
env MapboxAccessTokenJupyter=<YOUR_TOKEN> npx babel lib --out-dir babel
jupyter labextension install . It seems to work OK: from keplergl import KeplerGl
map_1 = KeplerGl(height=500)
map_1
# new cell
import pandas as pd
df = pd.DataFrame(
{'City': ['Buenos Aires', 'Brasilia', 'Santiago', 'Bogota', 'Caracas'],
'Latitude': [-34.58, -15.78, -33.45, 4.60, 10.48],
'Longitude': [-58.66, -47.91, -70.66, -74.08, -66.86]})
map_1.add_data(data=df, name='cities') The changes I made were:
|
@saulshanabrook Thank you so much for this!! I will implement your changes and test it |
|
Add installation instruction for Jupyter Lab |
Feature
Publish a kepler.gl for jupyter python package to load kepler.gl inside jupyter notebook
Solution
Appendix
Kepler.gl Jupyter Integration Slides
The text was updated successfully, but these errors were encountered: