Attempting to display a basic map in iPython using folium leaflet library. Recent install of iPython through Anaconda with Folium installed with Pip. Confirmed everything is up to date
ran this code in iPython
import folium
map = folium.Map(location=[48, -102], zoom_start=3)
map.create_map('map.html')
map
I receive a blank frame. I checked the console on the html. I receive a number of Failed to load resource: net::ERR_FILE_NOT_FOUND
tracing back to an Uncaught ReferenceError: L is not defined
. I checked the html document and found the leaflet reference looks like this:
src="//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.js">
I assume the issue is with the relative link but I have no found information in the folium docs to resolve this issue.
Thanks ya'll for the help. I look forward to paying it forward.