bugfix for plots
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Thu, 28 May 2009 16:59:14 +0200
changeset 1991 8a9d8f1ee100
parent 1990 59507a12a7f4
child 1993 b3b51389566b
bugfix for plots
web/views/plots.py
--- a/web/views/plots.py	Thu May 28 15:09:35 2009 +0200
+++ b/web/views/plots.py	Thu May 28 16:59:14 2009 +0200
@@ -139,7 +139,7 @@
         nbcols = len(self.rset.rows[0])
         for col in xrange(1, nbcols):
             data = [row[col] for row in self.rset]
-            plots.append(filterout_nulls(abscissa, plot))
+            plots.append(filterout_nulls(abscissa, data))
         plotwidget = FlotPlotWidget(varnames, plots, timemode=self.timemode)
         plotwidget.render(self.req, width, height, w=self.w)