[Yt-svn] yt-commit r404 - trunk/yt/raven
mturk at wrangler.dreamhost.com
mturk at wrangler.dreamhost.com
Mon Apr 14 16:35:01 PDT 2008
Author: mturk
Date: Mon Apr 14 16:35:00 2008
New Revision: 404
URL: http://yt.spacepope.org/changeset/404
Log:
Should fix #71. I thought I had done this before, but evidently not!
Modified:
trunk/yt/raven/PlotTypes.py
Modified: trunk/yt/raven/PlotTypes.py
==============================================================================
--- trunk/yt/raven/PlotTypes.py (original)
+++ trunk/yt/raven/PlotTypes.py Mon Apr 14 16:35:00 2008
@@ -171,7 +171,7 @@
self._axes.set_zlim(zmin, zmax)
def set_cmap(self, cmap):
- if isinstance(cmap, types.StringType):
+ if isinstance(cmap, types.StringTypes):
if hasattr(matplotlib.cm, cmap):
cmap = getattr(matplotlib.cm, cmap)
self.cmap = cmap
More information about the yt-svn
mailing list