summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-09-29 14:56:56 +0200
committerHolger Levsen <holger@layer-acht.org>2017-09-29 14:56:56 +0200
commit995fc3bb67663dd19b5bbbe2155b717b222d3ca4 (patch)
treee1964833785ae90e6feb8e28a1e1a4c248572b72 /bin
parent70e7fc4d14208539771ea763934fa49c61f3a1a9 (diff)
downloadjenkins.debian.net-995fc3bb67663dd19b5bbbe2155b717b222d3ca4.tar.xz
reproducible Debian: fixup number of label colums for packages-build-each-day-on-arch graphs
Signed-off-by: Holger Levsen <holger@layer-acht.org>
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 18a06e4b..2a586c23 100755
--- a/bin/make_graph.py
+++ b/bin/make_graph.py
@@ -62,7 +62,7 @@ def main():
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:
+ elif int(colors) == 16:
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")')