Fix: missed one Com_Name the converstion

This commit is contained in:
frederik
2025-10-12 20:55:17 +02:00
parent 25499faf69
commit 0d55caf33d
+1 -1
View File
@@ -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)