fschwartzer commited on
Commit
e84a44c
1 Parent(s): 59fd337

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ from branca.colormap import LinearColormap
12
  # Function to add heatmap layer to folium map
13
  def add_heatmap_layer(map_obj, data, column_name, colormap_name, radius=15):
14
  heat_data = data[['latitude', 'longitude', column_name]].dropna()
15
- heat_layer = folium.FeatureGroup(name=f'Heatmap - {column_name}')
16
 
17
  cmap = LinearColormap(colors=['blue', 'white', 'red'], vmin=heat_data[column_name].min(), vmax=heat_data[column_name].max())
18
 
 
12
  # Function to add heatmap layer to folium map
13
  def add_heatmap_layer(map_obj, data, column_name, colormap_name, radius=15):
14
  heat_data = data[['latitude', 'longitude', column_name]].dropna()
15
+ heat_layer = folium.FeatureGroup(name=f'Variável - {column_name}')
16
 
17
  cmap = LinearColormap(colors=['blue', 'white', 'red'], vmin=heat_data[column_name].min(), vmax=heat_data[column_name].max())
18