mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02: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
|
echo "$(head -n 2 Stats3)" > Stats3
|
||||||
sudo apt-get install gnuplot -y
|
sudo apt-get install gnuplot -y
|
||||||
N=`awk 'NR==1 {print NF}' Stats3`
|
N=`awk 'NR==1 {print NF}' Stats3`
|
||||||
gnuplot
|
gnuplot -persist <<-EOFMarker
|
||||||
plot for [i=2:N] "Stats3" u 1:i
|
plot for [i=2:N] "Stats3" u 1:i
|
||||||
set term png
|
set term png
|
||||||
set output "stats.png"
|
set output "stats.png"
|
||||||
replot
|
replot
|
||||||
set term x11
|
set term x11
|
||||||
#https://www.xmodulo.com/draw-stacked-histogram-gnuplot.html
|
#https://www.xmodulo.com/draw-stacked-histogram-gnuplot.html
|
||||||
exit
|
EOFMarker
|
||||||
rm Stats3
|
rm Stats3
|
||||||
- name: Commit if needed
|
- name: Commit if needed
|
||||||
uses: EndBug/add-and-commit@v9
|
uses: EndBug/add-and-commit@v9
|
||||||
|
|||||||
Reference in New Issue
Block a user