From 64f9202182ccf0b027ec533046734f9012b6f807 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 11 Mar 2015 23:37:29 +0100 Subject: fix copy+paste error --- 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 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")') -- cgit v1.2.3-70-g09d2