-
Notifications
You must be signed in to change notification settings - Fork 334
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
Can't display the Map items in Atom with hydrogen, python and folium #1069
Comments
It looks like folium returns a javascript bundle to render which cannot be viewed in Atom due to content security policy issues. Since Atom is a desktop app it doesn't allow inline scripts to be executed from unknown sources. @rgbkrk I'm wondering if we'd be able to support this via the geo-json transform in nteract. |
Sure seems possible, folium does have a geojson export function IIRC. |
I would really like to see this implemented in Hydrogen. Unless there is a known workaround that I couldn't find already? |
I'm just starting to learn about folium, and it's a pity maps don't work with Hydrogen. |
When I run this
folium.Map([41.8781, -87.6298], zoom_start=11)
It will display a map in Jupyter notebook like this,
https://i.stack.imgur.com/bhFNm.jpg
but when I type the same code in Atom, it display nothing.
https://i.stack.imgur.com/LsqAi.png
I'm curious that hydrogen is jupyter-notebook-based, why doesn't it work?
Thanks a lot!
Versions:
MacOS 10.12.6
Atom : 1.21.1
The text was updated successfully, but these errors were encountered: