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

joishi at wrangler.dreamhost.com joishi at wrangler.dreamhost.com
Fri Jun 25 09:46:42 PDT 2010


Author: joishi
Date: Fri Jun 25 09:46:42 2010
New Revision: 1763
URL: http://yt.enzotools.org/changeset/1763

Log:
fixed another minor bug, thanks to Andrew Myers.


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	Fri Jun 25 09:46:42 2010
@@ -1304,7 +1304,7 @@
         return p
 
     def add_ray(self, start_point, end_point, field, figure = None,
-                axes = None, plot_options = None):
+                axes = None, field_parameters = None, plot_options = None):
         r"""Create a ray between two points, from that a line plot, and add
         it to the current collection.
 
@@ -1360,7 +1360,7 @@
                                     **field_parameters)
         p = self._add_plot(PlotTypes.LineQueryPlot(data_source,
                 ['t', field], self._get_new_id(),
-                figure, axes, plot_options=plot_options))
+                figure=figure, axes=axes, plot_options=plot_options))
         return p
 
     def _get_new_id(self):



More information about the yt-svn mailing list