summaryrefslogtreecommitdiffstats
path: root/bin/make_graph.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-03 15:27:38 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-03 15:27:38 +0100
commit4a3b1ceef86c7d0183b89fc2eb769395068bb699 (patch)
treeb05e0d012ae92849b9382d0b3b48d3eb2828852d /bin/make_graph.py
parentb93995448ac8997db8f16636ee4614d0a2ef30e4 (diff)
downloadjenkins.debian.net-4a3b1ceef86c7d0183b89fc2eb769395068bb699.tar.xz
finally, query the right table and define shiny colors
Diffstat (limited to 'bin/make_graph.py')
-rwxr-xr-xbin/make_graph.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/make_graph.py b/bin/make_graph.py
index 66554117..f3969376 100755
--- a/bin/make_graph.py
+++ b/bin/make_graph.py
@@ -30,6 +30,9 @@ def main():
# thanks to http://tango.freedesktop.org/Generic_Icon_Theme_Guidelines for those nice colors
if int(colors) < 6:
r('palette(c("#4e9a06", "#f57900", "#cc0000", "#2e3436", "#888a85"))')
+ elif int(colors) == 8:
+ r('palette(c("#4e9a06", "#73d216", "#ce5c00", "#f57900", \
+ "#a40000", "#cc0000", "#2e3436", "#555753" ))')
else:
r('palette(c("#fce94f", "#c4a000", "#eeeeec", "#babdb6", \
"#fcaf3e", "#ce5c00", "#ad7fa8", "#5c3566", \