summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-05-28 11:14:58 +0200
committerHolger Levsen <holger@layer-acht.org>2015-05-28 11:14:58 +0200
commit7dda9f86d5064e9538f4b2d00640a0505b98e852 (patch)
tree26ea086470a13de9b7e34e684b01d8e2ec0e6719 /bin
parent44e9acbe727366516d88210f03bec943c0399c88 (diff)
downloadjenkins.debian.net-7dda9f86d5064e9538f4b2d00640a0505b98e852.tar.xz
reproducible: palette needs two colors
Diffstat (limited to 'bin')
-rwxr-xr-xbin/make_graph.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/make_graph.py b/bin/make_graph.py
index 83b833c0..f4166910 100755
--- a/bin/make_graph.py
+++ b/bin/make_graph.py
@@ -44,11 +44,11 @@ def main():
"#ce5c00", "#73d216", "#edd400", "#f57900", \
"#c17d11", "#3465a4", "#666666", "#AAAAAA" ))')
elif int(colors) == 40:
- r('palette(c("#4e9a06"))')
+ r('palette(c("#4e9a06", "#000000"))')
elif int(colors) == 41:
- r('palette(c("#73d216"))')
+ r('palette(c("#73d216", "#000000"))')
elif int(colors) == 42:
- r('palette(c("#8ae234"))')
+ r('palette(c("#8ae234", "#000000"))')
r('v <- t[0:nrow(t),0:'+colors+']')
# make graph since day 1
r('barplot(t(v),col = 1:'+columns+', main="'+mainlabel+'", xlab="", ylab="'+ylabel+'", space=0, border=NA)')