[Piuparts-commits] rev 927 - trunk

Holger Levsen holger at alioth.debian.org
Mon Jul 11 13:00:27 UTC 2011


Author: holger
Date: 2011-07-11 13:00:26 +0000 (Mon, 11 Jul 2011)
New Revision: 927

Modified:
   trunk/piuparts-report.py
Log:
its the little things, that mean a lot...

Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py	2011-07-10 14:15:32 UTC (rev 926)
+++ trunk/piuparts-report.py	2011-07-11 13:00:26 UTC (rev 927)
@@ -876,11 +876,11 @@
         r('t <- (read.table("'+countsfile+'",sep=",",header=1,row.names=1))')
         r('cname <- c("date",rep(colnames(t)))')
         # here we define how many days we wants stats for (163=half a year)
-        #r('v <- t[(nrow(t)-163):nrow(t),0:10]')
+        #r('v <- t[(nrow(t)-163):nrow(t),0:12]')
         # make graph since day 1  
         r('v <- t[0:nrow(t),0:12]')
         # thanks to http://tango.freedesktop.org/Generic_Icon_Theme_Guidelines for those nice colors
-        r('palette(c("#4e9a06", "#ef2929", "#d3d7cf", "#5c3566", "#c4a000", "#fce94f", "#a40000", "#888a85", "#2e3436", "#729fcf", "3465a4", "#204a87", "555753"))')
+        r('palette(c("#4e9a06", "#ef2929", "#d3d7cf", "#5c3566", "#c4a000", "#fce94f", "#a40000", "#888a85", "#2e3436", "#729fcf", "#3465a4", "#204a87", "#555753"))')
         r('bitmap(file="'+pngfile+'",type="png16m",width=16,height=9,pointsize=10,res=100)')
         r('barplot(t(v),col = 1:13, main="Binary packages per state in '+self._config.section+'", xlab="", ylab="Number of binary packages",space=0.1,border=0)')
         r('legend(x="bottom",legend=colnames(t), ncol=2,fill=1:13,xjust=0.5,yjust=0,bty="n")')




More information about the Piuparts-commits mailing list