File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,12 @@ def get_map_div():
128
128
),
129
129
130
130
html .Div ([
131
+ html .H4 ('''
132
+ Note: Manual zooming may be required to view all points; the map focuses on the centroid of the data.
133
+ ''' ,
134
+ id = 'x-variable' , #label to avoid nonexistent callback variable
135
+ style = {'color' : 'MidnightBlue' , 'margin-left' : 20 , 'margin-right' : 20 }
136
+ )
131
137
],
132
138
id = 'sort-by' , #label sort-by box to avoid non-existent label and generate box so button doesn't move between views
133
139
style = HALF_DIV_STYLE
Original file line number Diff line number Diff line change @@ -61,7 +61,9 @@ def make_map(df, color_by):
61
61
size = "Samples_at_locality" ,
62
62
color = color_by ,
63
63
color_discrete_sequence = px .colors .qualitative .Bold ,
64
- title = "Distribution of Samples" )
64
+ title = "Distribution of Samples" ,
65
+ zoom = 1 ,
66
+ mapbox_style = "white-bg" )
65
67
66
68
fig .update_traces (hovertemplate =
67
69
"Latitude: %{lat}<br>" +
@@ -79,7 +81,6 @@ def make_map(df, color_by):
79
81
't' : 35 ,
80
82
'b' : 20
81
83
},
82
- mapbox_style = "white-bg" ,
83
84
mapbox_layers = [{
84
85
"below" : "traces" ,
85
86
"sourcetype" : "raster" ,
You can’t perform that action at this time.
0 commit comments