[Yt-svn] yt-commit r708 - branches/yt-generalization/yt/raven

joishi at wrangler.dreamhost.com joishi at wrangler.dreamhost.com
Tue Jul 29 15:09:11 PDT 2008


Author: joishi
Date: Tue Jul 29 15:09:10 2008
New Revision: 708
URL: http://yt.spacepope.org/changeset/708

Log:
* fixed PlotCollectionInteractive's clear_plots...now it works


Modified:
   branches/yt-generalization/yt/raven/PlotCollection.py

Modified: branches/yt-generalization/yt/raven/PlotCollection.py
==============================================================================
--- branches/yt-generalization/yt/raven/PlotCollection.py	(original)
+++ branches/yt-generalization/yt/raven/PlotCollection.py	Tue Jul 29 15:09:10 2008
@@ -384,6 +384,6 @@
 
     def clear_plots(self):
         for plot in self.plots:
-            self.pylab.figure(pylab._fig_num)
+            self.pylab.figure(plot._fig_num)
             self.pylab.clf()
-        PlotCollection.clear_data(self)
+        PlotCollection.clear_plots(self)



More information about the yt-svn mailing list