[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: palette needs two colors

Holger Levsen holger at moszumanska.debian.org
Thu May 28 09:19:55 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 7dda9f86d5064e9538f4b2d00640a0505b98e852
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu May 28 11:14:58 2015 +0200

    reproducible: palette needs two colors
---
 bin/make_graph.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/make_graph.py b/bin/make_graph.py
index 83b833c..f416691 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)')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list