Heatmap#

[1]:
import numpy as np

data = (
    np.random.normal(size=(100, 3)) * np.array([[1, 1, 1]]) + np.array([[48, 5, 1]])
).tolist()
[2]:
import folium
from folium.plugins import HeatMap

m = folium.Map([48.0, 5.0], zoom_start=6)

HeatMap(data).add_to(m)

m
[2]:
Make this Notebook Trusted to load map: File -> Trust Notebook