Open AlcorDust opened 5 years ago
Update, it doesn't work also using python3 command line editor.
Instead of: fig try: fig_gmap
fig_gmap
Hi jonahbrennan, i tried to do that but nothing changed
Did you ever get it to work? I'm experiencing the same issue.
Did you ever get it to work? I'm experiencing the same issue.(2)
works for me. What's the detailed configuration? I'm using:
jupyter --version
4.4.0
jupyter nbextension list
Known nbextensions:
config dir: /usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/etc/jupyter/nbconfig
notebook section
jupyter-js-widgets/extension enabled
- Validating: OK
jupyter-gmaps/extension enabled
- Validating: OK
config dir: /usr/local/etc/jupyter/nbconfig
notebook section
plotlywidget/extension enabled
- Validating: OK
jupyter-js-widgets/extension enabled
- Validating: OK
OSX: 11.1.
Dunno what else it depends on.
i'm trying to use the Gmaps library on Jupyter notebook. I can't display the generated map.
Installation: i tried both
conda install -c conda-forge gmaps
andpip3 install gmaps
.Api key: i followed the instructions in this page.
Before starting Jupyter i ran these commands succesfully:
jupyter nbextension enable --py --sys-prefix gmaps
jupyter nbextension enable --py --sys-prefix widgetsnbextension
Code:
gmaps.configure(api_key='AIza....etc')
new_york_coordinates = (40.75, -74.00) fig = gmaps.figure(center=new_york_coordinates, zoom_level=12)
fig