[Piuparts-commits] rev 417 - trunk

Holger Levsen holger at alioth.debian.org
Tue May 26 16:05:38 UTC 2009


Author: holger
Date: 2009-05-26 16:05:37 +0000 (Tue, 26 May 2009)
New Revision: 417

Modified:
   trunk/piuparts-report.py
Log:
graph 60 days

Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py	2009-05-26 15:57:31 UTC (rev 416)
+++ trunk/piuparts-report.py	2009-05-26 16:05:37 UTC (rev 417)
@@ -780,7 +780,7 @@
         pngfile = os.path.join(self._output_directory, "bimonthly-states.png")
         r('t <- (read.table("'+countsfile+'",sep=",",header=1,row.names=1))')
         r('cname <- c("date",rep(colnames(t)))')
-        r('v <- t[(nrow(t)-40):nrow(t),0:12]')  # this should be 60, not 40..
+        r('v <- t[(nrow(t)-60):nrow(t),0:12]')
         # thanks to http://tango.freedesktop.org/Generic_Icon_Theme_Guidelines for those nice colors
         r('palette(c("#4e9a06", "#ef2929", "#73d216", "#d3d7cf", "#5c3566", "#c4a000", "#fce94f", "#a40000", "#888a85", "#2e3436", "#8ae234",  "#729fcf","#204a87"))')
         r('bitmap(file="'+pngfile+'",type="png16m",width=16,height=9,pointsize=10,res=100)')




More information about the Piuparts-commits mailing list