Author: eallen
Date: 2011-04-19 19:22:02 +0000 (Tue, 19 Apr 2011)
New Revision: 4724
Modified:
trunk/cumin/python/cumin/grid/slotvis.py
trunk/cumin/resources/slots.swf
Log:
Attempt to remove the black space around the slot vis
Modified: trunk/cumin/python/cumin/grid/slotvis.py
===================================================================
--- trunk/cumin/python/cumin/grid/slotvis.py 2011-04-18 21:04:17 UTC (rev 4723)
+++ trunk/cumin/python/cumin/grid/slotvis.py 2011-04-19 19:22:02 UTC (rev 4724)
@@ -165,7 +165,7 @@
count = len(data)
# individual slots are 51 px wide and tall
width = self.render_slot_chart_width(session)
- cols = int(width / slot_size)
+ cols = int(width / slot_size) * 4
rows = int(math.ceil(count / cols))
return rows * slot_size
Modified: trunk/cumin/resources/slots.swf
===================================================================
(Binary files differ)
Show replies by date