[Yt-svn] yt-commit r1451 - branches/yt-1.5/yt/raven trunk/yt/raven

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Tue Sep 15 15:46:53 PDT 2009


Author: mturk
Date: Tue Sep 15 15:46:52 2009
New Revision: 1451
URL: http://yt.spacepope.org/changeset/1451

Log:
Quick fix for indentation level



Modified:
   branches/yt-1.5/yt/raven/PlotTypes.py
   trunk/yt/raven/PlotTypes.py

Modified: branches/yt-1.5/yt/raven/PlotTypes.py
==============================================================================
--- branches/yt-1.5/yt/raven/PlotTypes.py	(original)
+++ branches/yt-1.5/yt/raven/PlotTypes.py	Tue Sep 15 15:46:52 2009
@@ -176,7 +176,7 @@
                 self.colorbar.formatter = matplotlib.ticker.FixedFormatter(["%0.2e" % (x) for x in ticks])
             else:
                 mylog.error('Sorry, we do not support minmaxtick for linear fields.  It likely comes close by default')
-       elif nticks is not None:
+        elif nticks is not None:
             if self.log_field:
                 lin = na.linspace(na.log10(zmin),na.log10(zmax),nticks)
                 self.colorbar.locator = matplotlib.ticker.FixedLocator(10**lin)

Modified: trunk/yt/raven/PlotTypes.py
==============================================================================
--- trunk/yt/raven/PlotTypes.py	(original)
+++ trunk/yt/raven/PlotTypes.py	Tue Sep 15 15:46:52 2009
@@ -176,7 +176,7 @@
                 self.colorbar.formatter = matplotlib.ticker.FixedFormatter(["%0.2e" % (x) for x in ticks])
             else:
                 mylog.error('Sorry, we do not support minmaxtick for linear fields.  It likely comes close by default')
-       elif nticks is not None:
+        elif nticks is not None:
             if self.log_field:
                 lin = na.linspace(na.log10(zmin),na.log10(zmax),nticks)
                 self.colorbar.locator = matplotlib.ticker.FixedLocator(10**lin)



More information about the yt-svn mailing list