diff --git a/scripts/daily_plot.py b/scripts/daily_plot.py index 6384525d3..81e1df34e 100755 --- a/scripts/daily_plot.py +++ b/scripts/daily_plot.py @@ -169,7 +169,7 @@ def create_plot(df_plt_today, now, is_top=None): plot.set(xlabel="Hour of Day") # Set combined plot layout and titles y = 1 - 8 / (height * 100) - plt.suptitle(f"Hourly overview for {date[:10]}\n{plot_type} {readings} species, {df_plt_today.shape[0]} detections today, updated {date[11:]}", y=y) + plt.suptitle(f"Hourly overview for {now.strftime('%Y-%m-%d')}\n{plot_type} {readings} species, {df_plt_today.shape[0]} detections today, updated {now.strftime('%H:%M')}", y=y) f.tight_layout() top = 1 - 40 / (height * 100) f.subplots_adjust(left=0.125, right=0.9, top=top, wspace=0)