[Yt-svn] yt-commit r709 - branches/yt-1.0/yt/raven trunk/yt/raven
joishi at wrangler.dreamhost.com
joishi at wrangler.dreamhost.com
Tue Jul 29 16:13:38 PDT 2008
Author: joishi
Date: Tue Jul 29 16:13:38 2008
New Revision: 709
URL: http://yt.spacepope.org/changeset/709
Log:
* fixed use of external figure object in RavenPlot.
Modified:
branches/yt-1.0/yt/raven/PlotTypes.py
trunk/yt/raven/PlotTypes.py
Modified: branches/yt-1.0/yt/raven/PlotTypes.py
==============================================================================
--- branches/yt-1.0/yt/raven/PlotTypes.py (original)
+++ branches/yt-1.0/yt/raven/PlotTypes.py Tue Jul 29 16:13:38 2008
@@ -113,7 +113,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
Modified: trunk/yt/raven/PlotTypes.py
==============================================================================
--- trunk/yt/raven/PlotTypes.py (original)
+++ trunk/yt/raven/PlotTypes.py Tue Jul 29 16:13:38 2008
@@ -113,7 +113,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