summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-11 23:37:29 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-11 23:37:29 +0100
commit64f9202182ccf0b027ec533046734f9012b6f807 (patch)
treefd834ab558069978ac28e5c43485870d8c852475 /bin
parentb6b0e774deb8ea41dceae72aaaa10f77041abec2 (diff)
downloadjenkins.debian.net-64f9202182ccf0b027ec533046734f9012b6f807.tar.xz
fix copy+paste error
Diffstat (limited to 'bin')
-rwxr-xr-xbin/make_graph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/make_graph.py b/bin/make_graph.py
index e8441954..2401ef36 100755
--- a/bin/make_graph.py
+++ b/bin/make_graph.py
@@ -48,7 +48,7 @@ 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:
+ elif int(colors) == 12:
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")')