diff --git a/newinstaller.sh b/newinstaller.sh index e89c8e6..48d42f4 100644 --- a/newinstaller.sh +++ b/newinstaller.sh @@ -2,7 +2,7 @@ # Simple new installer HOME=/home/pi USER=pi -branch=main +branch=forms if ! which git &> /dev/null;then sudo apt update sudo apt -y install git diff --git a/scripts/daily_plot.py b/scripts/daily_plot.py index 4095d7c..5674ab1 100755 --- a/scripts/daily_plot.py +++ b/scripts/daily_plot.py @@ -89,7 +89,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[2], yticklabels = False) +plot = sns.heatmap(heat, norm=LogNorm(), annot=True, fmt="g", annot_kws={"fontsize":7}, cmap = pal , square = False, cbar=False, linewidths = 0.5, linecolor = "Grey", ax=axs[2], yticklabels = False) # Set heatmap border for _, spine in plot.spines.items(): diff --git a/scripts/stats.php b/scripts/stats.php index b03be6d..61551cd 100644 --- a/scripts/stats.php +++ b/scripts/stats.php @@ -119,6 +119,7 @@ a { text-align: center; } + img { width:75%; } @@ -253,6 +254,7 @@ while($rows = $specificstats->fetch_assoc()) { "; }} ?> +