import os
import folium
print(folium.__version__)
0.5.0+27.g2d457b0.dirty
import numpy as np
data = (
np.random.normal(size=(100, 3)) *
np.array([[1, 1, 1]]) +
np.array([[48, 5, 1]])
).tolist()
from folium.plugins import HeatMap
m = folium.Map([48., 5.], tiles='stamentoner', zoom_start=6)
HeatMap(data).add_to(m)
m.save(os.path.join('results', 'Heatmap.html'))
m