pbugnion / gmaps

Google maps for Jupyter notebooks
https://jupyter-gmaps.readthedocs.io/en/stable/
Other
760 stars 147 forks source link

Can't visualize the map #320

Open AlcorDust opened 5 years ago

AlcorDust commented 5 years ago

i'm trying to use the Gmaps library on Jupyter notebook. I can't display the generated map.

gmaps.configure(api_key='AIza....etc')

new_york_coordinates = (40.75, -74.00) fig = gmaps.figure(center=new_york_coordinates, zoom_level=12)

fig



- Output (without map):
`Figure(layout=FigureLayout(height='420px'))`

How can i show the desired map?
AlcorDust commented 5 years ago

Update, it doesn't work also using python3 command line editor.

jonahbrennan commented 5 years ago

Instead of: fig try: fig_gmap

AlcorDust commented 5 years ago

fig_gmap

Hi jonahbrennan, i tried to do that but nothing changed

meesaltena commented 4 years ago

Did you ever get it to work? I'm experiencing the same issue.

matheusmpandrade commented 4 years ago

Did you ever get it to work? I'm experiencing the same issue.(2)

timcoote commented 3 years ago

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.