mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-10 09:35:58 +02:00
Update weekly_stats.yaml
This commit is contained in:
4
.github/workflows/weekly_stats.yaml
vendored
4
.github/workflows/weekly_stats.yaml
vendored
@@ -133,13 +133,11 @@ jobs:
|
|||||||
}' Stats3 > StatsTmp && mv StatsTmp Stats3 && rm StatsTmp
|
}' Stats3 > StatsTmp && mv StatsTmp Stats3 && rm StatsTmp
|
||||||
# Plot graph
|
# Plot graph
|
||||||
sudo apt-get install gnuplot -y
|
sudo apt-get install gnuplot -y
|
||||||
gnuplot -persist <<-EOFMarker
|
gnuplot-nox -persist <<-EOFMarker
|
||||||
plot for [i=1:*] 'Stats3' using 0:i with lines title 'Column '.i
|
plot for [i=1:*] 'Stats3' using 0:i with lines title 'Column '.i
|
||||||
set term png
|
set term png
|
||||||
set output "stats.png"
|
set output "stats.png"
|
||||||
replot
|
replot
|
||||||
set term x11
|
|
||||||
#https://www.xmodulo.com/draw-stacked-histogram-gnuplot.html
|
|
||||||
EOFMarker
|
EOFMarker
|
||||||
rm Stats3
|
rm Stats3
|
||||||
- name: Commit if needed
|
- name: Commit if needed
|
||||||
|
|||||||
Reference in New Issue
Block a user