diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-03-11 23:29:59 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-03-11 23:30:05 +0100 |
commit | b6b0e774deb8ea41dceae72aaaa10f77041abec2 (patch) | |
tree | 12eb5d1cc77a2bf924c8b13a5c888d40156ff36c | |
parent | e5226a715847c3b73916595dbb4011c311783bb5 (diff) | |
download | jenkins.debian.net-b6b0e774deb8ea41dceae72aaaa10f77041abec2.tar.xz |
fix typo/bashism^wposixism
-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 0ed4bcf2..e8441954 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) == 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")') |