From 0d55caf33d65002fc0f311e1be79d30035ee6d75 Mon Sep 17 00:00:00 2001 From: frederik Date: Sun, 12 Oct 2025 20:55:17 +0200 Subject: [PATCH] Fix: missed one Com_Name the converstion --- scripts/daily_plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/daily_plot.py b/scripts/daily_plot.py index 36223e5..22db948 100755 --- a/scripts/daily_plot.py +++ b/scripts/daily_plot.py @@ -138,7 +138,7 @@ def create_plot(df_plt_today, now, is_top=None): plot.set(xlabel="Detections") # Generate crosstab matrix for heatmap plot - heat = pd.crosstab(df_plt_selection_today['Com_Name'], df_plt_selection_today['Hour of Day']) + heat = pd.crosstab(df_plt_selection_today['Sci_Name'], df_plt_selection_today['Hour of Day']) # Order heatmap Birds by frequency of occurrance heat.index = pd.CategoricalIndex(heat.index, categories=freq_order)