[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: 4 columns for that image

Holger Levsen holger at moszumanska.debian.org
Wed Mar 11 22:28:40 UTC 2015


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 e5226a715847c3b73916595dbb4011c311783bb5
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Mar 11 23:26:39 2015 +0100

    reproducible: 4 columns for that image
---
 bin/make_graph.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/make_graph.py b/bin/make_graph.py
index fae1ddc..0ed4bcf 100755
--- a/bin/make_graph.py
+++ b/bin/make_graph.py
@@ -48,6 +48,8 @@ def main():
     r('barplot(t(v),col = 1:'+columns+', main="'+mainlabel+'", xlab="", ylab="'+ylabel+'", space=0, border=NA)')
     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) = 10:
+        r('legend(x="bottom",legend=colnames(t), ncol=4,fill=1:'+columns+',xjust=0.5,yjust=0,bty="n")')
     else:
         r('legend(x="bottom",legend=colnames(t), ncol=7,fill=1:'+columns+',xjust=0.5,yjust=0,bty="n")')
     grdevices.dev_off()

-- 
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