[Yt-svn] yt-commit r1810 - trunk/yt/raven

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Tue Aug 24 13:38:15 PDT 2010


Author: mturk
Date: Tue Aug 24 13:38:14 2010
New Revision: 1810
URL: http://yt.enzotools.org/changeset/1810

Log:
Cutting plane arguments were incorrect.



Modified:
   trunk/yt/raven/plot_collection.py

Modified: trunk/yt/raven/plot_collection.py
==============================================================================
--- trunk/yt/raven/plot_collection.py	(original)
+++ trunk/yt/raven/plot_collection.py	Tue Aug 24 13:38:14 2010
@@ -523,7 +523,9 @@
         if center == None:
             center = self.c
         if not obj:
-            cp = self.pf.hierarchy.cutting(normal, center, field, **kwargs)
+            if field_parameters is None: field_parameters = {}
+            cp = self.pf.hierarchy.cutting(normal, center, field,
+                    **field_parameters)
         else:
             cp = obj
         p = self._add_plot(PlotTypes.CuttingPlanePlot(cp, field,



More information about the yt-svn mailing list