Skip to content

A live bird collage card for your Home Assistant dashboard.

Fix: missed one Com_Name the converstion

frederik0d55caf33d65
diff --git a/scripts/daily_plot.py b/scripts/daily_plot.py
index 36223e57..22db948b 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)