I wanted to plot a dataframe on an interactive map (openstreetmap) but the code I have is made to be points on the map and I would like to have "spots" like contour plotted on the map how can I change the code?
fig = px.scatter_mapbox(df, lat="lat", lon="lon", color="Hot Days", zoom=2.9,
color_continuous_scale=px.colors.sequential.Hot_r,
mapbox_style='open-street-map',width=900,height=600)
fig.update_layout(title='Hot days until {}'.format(yesterday.strftime('%Y/%m/%d')))
fig.update_layout(
mapbox=dict(
center=go.layout.mapbox.Center(
lat=47,
lon=7
)))
plot(fig, auto_open=True)