A live bird collage card for your Home Assistant dashboard.
fmt="g" for both
mcguirepr89f85010adb441
diff --git a/scripts/daily_plot.py b/scripts/daily_plot.pyindex 096279ba..750fe73e 100755--- a/scripts/daily_plot.py+++ b/scripts/daily_plot.py@@ -85,7 +85,7 @@ heat_frame = pd.DataFrame(data=0, index=heat.index, columns = hours_in_day)heat=(heat+heat_frame).fillna(0)#Generatie heatmap plot-plot = sns.heatmap(heat, norm=LogNorm(), annot=True, annot_kws={"fontsize":7}, cmap = pal , square = False, cbar=False, linewidths = 0.5, linecolor = "Grey", ax=axs[1], yticklabels = False)+plot = sns.heatmap(heat, norm=LogNorm(), annot=True, annot_kws={"fontsize":7}, fmt="g", cmap = pal , square = False, cbar=False, linewidths = 0.5, linecolor = "Grey", ax=axs[1], yticklabels = False)plot.set_xticklabels(plot.get_xticklabels(), rotation = 0, size = 7)# Set heatmap border