changeset 152:c26bc528cb05

separation of Plot class successful
author catherine@Elli.myhome.westell.com
date Fri, 26 Sep 2008 16:31:17 -0400
parents 802d8df993da
children ebdd20cfba69
files sqlpyPlus.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/sqlpyPlus.py	Fri Sep 26 16:11:29 2008 -0400
+++ b/sqlpyPlus.py	Fri Sep 26 16:31:17 2008 -0400
@@ -369,8 +369,8 @@
                 return result       
             if self.xticks:
                 pylab.xticks(self.xvalues, self.xticks)
-            for (colName, yseries) in self.yserieslists.items():
-                pylab.plot(xvalues, yseries, '-o')
+            for yseries in self.yserieslists:
+                pylab.plot(self.xvalues, yseries, '-o')
             pylab.xlabel(self.xlabel)
             pylab.title(self.title)
             pylab.legend(self.legends)