diff options
author | Maria Glukhova <siamezzze@gmail.com> | 2017-05-05 20:13:53 +0300 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-05-06 19:03:51 +0200 |
commit | 1cf95d9021336997d8e964b3f88adace3d769931 (patch) | |
tree | 7d0170e0b33cd4dfd56ac2882d3f699f5b2fe982 | |
parent | dfeb1b5783a754454e84488173d93b257359501e (diff) | |
download | jenkins.debian.net-1cf95d9021336997d8e964b3f88adace3d769931.tar.xz |
reproducible Debian: Fix no date shown for barplots with only one column type.
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-x | bin/make_graph.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/make_graph.py b/bin/make_graph.py index cf852a28..d97f6f82 100755 --- a/bin/make_graph.py +++ b/bin/make_graph.py @@ -57,7 +57,7 @@ def main(): colors='1' r('v <- t[0:nrow(t),0:'+colors+']') # make graph since day 1 - r('barplot(t(v),col = 1:'+columns+', main="'+mainlabel+'", xlab="", ylab="'+ylabel+'", space=0, border=NA)') + r('barplot(t(v),col = 1:'+columns+', main="'+mainlabel+'", xlab="", ylab="'+ylabel+'", space=0, border=NA, names.arg=rownames(t))') if int(colors) < 10: r('legend(x="bottom",legend=colnames(t), ncol=2,fill=1:'+columns+',xjust=0.5,yjust=0,bty="n")') elif int(colors) == 12: |