[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: Fix no date shown for barplots with only one column type.

Holger Levsen holger at layer-acht.org
Sat May 6 17:04:10 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 1cf95d9021336997d8e964b3f88adace3d769931
Author: Maria Glukhova <siamezzze at gmail.com>
Date:   Fri May 5 20:13:53 2017 +0300

    reproducible Debian: Fix no date shown for barplots with only one column type.
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/make_graph.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/make_graph.py b/bin/make_graph.py
index cf852a2..d97f6f8 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:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list