From d2fffba398baa9f9d396de007befb9814f638957 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Nov 2024 11:32:43 +0100 Subject: [PATCH] Update interactive_plot.py --- scripts/utils/interactive_plot.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/utils/interactive_plot.py b/scripts/utils/interactive_plot.py index 2aee7420..d9ff612e 100644 --- a/scripts/utils/interactive_plot.py +++ b/scripts/utils/interactive_plot.py @@ -85,6 +85,9 @@ def add_annotations(text_array, text_colors, col, species_list, all_hours, annot def create_plotly_heatmap(df_birds, now): """Creates a Plotly heatmap with annotations based on bird detection data.""" + + load_fonts() + main_title = f"Hourly Overview Updated at {now.strftime('%Y-%m-%d %H:%M:%S')}" subtitle = f"({df_birds['Com_Name'].nunique()} species today; {len(df_birds)} detections today)"