[rhmessaging-commits] rhmessaging commits: r3429 - mgmt/trunk/cumin/python/cumin.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Mon Jun 8 10:45:25 EDT 2009
Author: eallen
Date: 2009-06-08 10:45:25 -0400 (Mon, 08 Jun 2009)
New Revision: 3429
Modified:
mgmt/trunk/cumin/python/cumin/charts.py
Log:
Pass legend position to page as an array since tuples don't eval() properly in javascript.
Modified: mgmt/trunk/cumin/python/cumin/charts.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/charts.py 2009-06-08 14:35:02 UTC (rev 3428)
+++ mgmt/trunk/cumin/python/cumin/charts.py 2009-06-08 14:45:25 UTC (rev 3429)
@@ -239,7 +239,7 @@
cr.stroke()
width, height = cr.text_extents(title)[2:4]
- title_xy[color] = (width, y)
+ title_xy[color] = [width, y]
return title_xy
def plot_frame(self, color=(0.8, 0.8, 0.8)):
More information about the rhmessaging-commits
mailing list