[rhmessaging-commits] rhmessaging commits: r1918 - mgmt/cumin/python/cumin.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Tue Apr 15 20:46:10 EDT 2008


Author: justi9
Date: 2008-04-15 20:46:10 -0400 (Tue, 15 Apr 2008)
New Revision: 1918

Modified:
   mgmt/cumin/python/cumin/charts.py
Log:
Use alpha for value lines, so that you can tell when they overlap

Modified: mgmt/cumin/python/cumin/charts.py
===================================================================
--- mgmt/cumin/python/cumin/charts.py	2008-04-15 20:15:25 UTC (rev 1917)
+++ mgmt/cumin/python/cumin/charts.py	2008-04-16 00:46:10 UTC (rev 1918)
@@ -23,7 +23,7 @@
     def plot_values(self, samples, color=(0, 0, 0)):
         cr = Context(self.surface)
         cr.set_line_width(1.5)
-        cr.set_source_rgb(*color)
+        cr.set_source_rgba(color[0], color[1], color[2], 0.66)
 
         tnow = time()
 




More information about the rhmessaging-commits mailing list