From 1b75d15a89ce0c1133076ad8e9846bb9202db7f6 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 27 Jan 2023 15:35:01 +0100 Subject: [PATCH] Update weekly_stats.yaml --- .github/workflows/weekly_stats.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/weekly_stats.yaml b/.github/workflows/weekly_stats.yaml index 5e9b3fab0..bba46d071 100644 --- a/.github/workflows/weekly_stats.yaml +++ b/.github/workflows/weekly_stats.yaml @@ -214,7 +214,20 @@ jobs: set output 'stats_addons.png' plot for [i=2:*] 'Stats3' using 1:i w l title columnhead(i) smooth csplines EOFMarker - ) || true + ) || ( gnuplot-nox -persist <<-EOFMarker + set title 'Top 10 addons' + set ylabel 'Number of installations' + set xdata time + set datafile missing "-" + set timefmt "%Y-%m-%d" + set format x "%y-%m-%d" + set datafile sep ' ' + set autoscale + set terminal png size 500,300 + set output 'stats_addons.png' + plot for [i=2:*] 'Stats3' using 1:i w l title columnhead(i) + EOFMarker + ) #plot for [i=1:*] 'Stats3' using 0:i rm Stats3 - name: Commit if needed