mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update weekly_stats.yaml
This commit is contained in:
14
.github/workflows/weekly_stats.yaml
vendored
14
.github/workflows/weekly_stats.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user