Spaces:
Sleeping
Sleeping
fschwartzer
commited on
Commit
•
75ef971
1
Parent(s):
dc81e08
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def add_heatmap_layer(map_obj, data, column_name, colormap_name, radius=15):
|
|
34 |
radius=radius,
|
35 |
fill=True,
|
36 |
fill_color=cmap(row[column_name]),
|
37 |
-
fill_opacity=0.
|
38 |
weight=0,
|
39 |
popup=f"{column_name}: {row[column_name]:.2f}" # Fix here
|
40 |
).add_to(heat_layer)
|
|
|
34 |
radius=radius,
|
35 |
fill=True,
|
36 |
fill_color=cmap(row[column_name]),
|
37 |
+
fill_opacity=0.5,
|
38 |
weight=0,
|
39 |
popup=f"{column_name}: {row[column_name]:.2f}" # Fix here
|
40 |
).add_to(heat_layer)
|