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

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Fri Jan 22 14:20:49 PST 2010


Author: mturk
Date: Fri Jan 22 14:20:47 2010
New Revision: 1589
URL: http://yt.enzotools.org/changeset/1589

Log:
Added a *args to the PlotCollection signature



Modified:
   trunk/yt/raven/PlotCollection.py

Modified: trunk/yt/raven/PlotCollection.py
==============================================================================
--- trunk/yt/raven/PlotCollection.py	(original)
+++ trunk/yt/raven/PlotCollection.py	Fri Jan 22 14:20:47 2010
@@ -103,7 +103,7 @@
         for plot in self.plots:
             plot.set_ylim(ymin, ymax)
 
-    def set_zlim(self, zmin, zmax, **kwargs):
+    def set_zlim(self, zmin, zmax, *args, **kwargs):
         """
         Set the limits of the colorbar. 'min' or 'max' are possible inputs 
         when combined with dex=value, where value gives the maximum number of 
@@ -119,7 +119,7 @@
         """
         for plot in self.plots:
             plot.set_autoscale(False)
-            plot.set_zlim(zmin, zmax, **kwargs)
+            plot.set_zlim(zmin, zmax, *args, **kwargs)
 
     def set_lim(self, lim):
         """



More information about the yt-svn mailing list