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

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Wed Nov 26 08:09:06 PST 2008


Author: mturk
Date: Wed Nov 26 08:09:05 2008
New Revision: 961
URL: http://yt.spacepope.org/changeset/961

Log:
Fixing an FRB problem I thought I fixed before, and getting rid of the
incorrect fix.

(This is what I get for quickly trying to respond to email/bugs before the bus
passes out of wireless range.)



Modified:
   trunk/yt/raven/FixedResolution.py
   trunk/yt/raven/PlotTypes.py

Modified: trunk/yt/raven/FixedResolution.py
==============================================================================
--- trunk/yt/raven/FixedResolution.py	(original)
+++ trunk/yt/raven/FixedResolution.py	Wed Nov 26 08:09:05 2008
@@ -39,7 +39,6 @@
         self.data_source = data_source
         self.pf = data_source.pf
         self.bounds = bounds
-        self.xlim, self.ylim = bounds[:2], bounds[2:]
         self.buff_size = buff_size
         self.antialias = antialias
         self.data = {}

Modified: trunk/yt/raven/PlotTypes.py
==============================================================================
--- trunk/yt/raven/PlotTypes.py	(original)
+++ trunk/yt/raven/PlotTypes.py	Wed Nov 26 08:09:05 2008
@@ -377,6 +377,8 @@
         pass
 
     def _refresh_display_width(self, width=None):
+        self.set_xlim(self.data.bounds[0], self.data.bounds[1])
+        self.set_ylim(self.data.bounds[2], self.data.bounds[3])
         self._redraw_image()
 
     def setup_domain_edges(self, *args, **kwargs):



More information about the yt-svn mailing list