web/views/plots.py
branchstable
changeset 4721 8f63691ccb7f
parent 4719 aaed3f813ef8
child 5041 ebdab53b0c45
--- a/web/views/plots.py	Fri Feb 26 13:21:13 2010 +0100
+++ b/web/views/plots.py	Fri Feb 26 13:24:47 2010 +0100
@@ -94,7 +94,7 @@
         #     datetime labels on tooltips is to insert an additional column
         #     cf. function onPlotHover in cubicweb.flot.js
         if self.timemode:
-            plot = [(datetime2ticks(x), y, datetime2ticks(x)) for x,y in plot]
+            plot = [(datetime2ticks(x), y, datetime2ticks(x)) for x, y in plot]
         return dumps(plot)
 
     def _render(self, req, width=500, height=400):