diff --git a/.github/workflows/weekly_stats.yaml b/.github/workflows/weekly_stats.yaml index a7c08221a..b8e96c5fd 100644 --- a/.github/workflows/weekly_stats.yaml +++ b/.github/workflows/weekly_stats.yaml @@ -112,14 +112,14 @@ jobs: echo "$(head -n 2 Stats3)" > Stats3 sudo apt-get install gnuplot -y N=`awk 'NR==1 {print NF}' Stats3` - gnuplot - plot for [i=2:N] "Stats3" u 1:i - set term png - set output "stats.png" - replot - set term x11 + gnuplot -persist <<-EOFMarker + plot for [i=2:N] "Stats3" u 1:i + set term png + set output "stats.png" + replot + set term x11 #https://www.xmodulo.com/draw-stacked-histogram-gnuplot.html - exit + EOFMarker rm Stats3 - name: Commit if needed uses: EndBug/add-and-commit@v9