FranciscoLozDataScience commited on
Commit
88cd75b
·
1 Parent(s): 094f22f

must be list type

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,8 +18,8 @@ def filter_map(uhi, longitude, latitude):
18
 
19
  # Create the plot
20
  fig = go.Figure(go.Scattermapbox(
21
- lat=latitude,
22
- lon=longitude,
23
  mode='markers',
24
  marker=go.scattermapbox.Marker(
25
  size=6
 
18
 
19
  # Create the plot
20
  fig = go.Figure(go.Scattermapbox(
21
+ lat=[latitude],
22
+ lon=[longitude],
23
  mode='markers',
24
  marker=go.scattermapbox.Marker(
25
  size=6