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

joishi at wrangler.dreamhost.com joishi at wrangler.dreamhost.com
Thu Sep 18 13:00:22 PDT 2008


Author: joishi
Date: Thu Sep 18 13:00:19 2008
New Revision: 790
URL: http://yt.spacepope.org/changeset/790

Log:
* fixed a simple bug: checked for figure instead of axis.


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

Modified: branches/yt-generalization/yt/raven/PlotTypes.py
==============================================================================
--- branches/yt-generalization/yt/raven/PlotTypes.py	(original)
+++ branches/yt-generalization/yt/raven/PlotTypes.py	Thu Sep 18 13:00:19 2008
@@ -115,7 +115,7 @@
             self._figure = matplotlib.figure.Figure(size)
         else:
             self._figure = figure
-        if not figure:
+        if not axes:
             self._axes = self._figure.add_subplot(1,1,1)
         else:
             self._axes = axes



More information about the yt-svn mailing list