Skip to content

Commit 6be96f9

Browse files
authored
Put filter field first
1 parent 8c01b01 commit 6be96f9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scripts/utils/interactive_plot.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -234,17 +234,17 @@ def create_plotly_heatmap(df_birds, now):
234234
<style>.modebar-container {{ display: none !important; }}</style>
235235
<div class='chart-container' style='position: relative; width: 80%; margin: 0 auto;'>
236236
<div style='position: absolute; bottom: 10px; left: 10px; z-index: 10;'>
237-
<input type='text' id='birdSearch' placeholder='Search...'
238-
style='padding: 5px; font-size: 14px; background-color: rgba(255, 255, 255, 0.5); color: #333; border: none;
239-
border-radius: 3px; width: 150px;' />
240-
<button id='filterButton' style='margin-left: 5px; padding: 5px; font-size: 14px; background-color: rgba(255, 255, 255, 0.5);
241-
color: #333; border: none; border-radius: 3px;'>OK</button>
242237
<select id='sortOptions' style='margin-left: 5px; padding: 5px; font-size: 14px; background-color: rgba(255, 255, 255, 0.5);
243238
color: #333; border: none; border-radius: 3px;'>
244239
<option value="count" selected>Count</option>
245240
<option value="confidence">Max Confidence</option>
246241
<option value="species">Species Name</option>
247242
</select>
243+
<input type='text' id='birdSearch' placeholder='Search...'
244+
style='padding: 5px; font-size: 14px; background-color: rgba(255, 255, 255, 0.5); color: #333; border: none;
245+
border-radius: 3px; width: 150px;' />
246+
<button id='filterButton' style='padding: 5px; font-size: 14px; background-color: rgba(255, 255, 255, 0.5);
247+
color: #333; border: none; border-radius: 3px;'>OK</button>
248248
</div>
249249
{fig.to_html(
250250
include_plotlyjs='cdn',

0 commit comments

Comments
 (0)