[Yt-svn] commit/yt: 2 new changesets

Bitbucket commits-noreply at bitbucket.org
Tue Apr 12 08:59:22 PDT 2011


2 new changesets in yt:

http://bitbucket.org/yt_analysis/yt/changeset/1487a735ca09/
changeset:   r4104:1487a735ca09
branch:      yt
user:        sskory
date:        2011-04-12 17:58:02
summary:     Adding print for the fixed resolution buffer image size.
affected #:  1 file (145 bytes)

--- a/yt/visualization/fixed_resolution.py	Tue Apr 12 10:32:38 2011 -0400
+++ b/yt/visualization/fixed_resolution.py	Tue Apr 12 09:58:02 2011 -0600
@@ -23,6 +23,7 @@
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 """
 
+from yt.funcs import *
 from yt.utilities.definitions import \
     x_dict, \
     y_dict, \
@@ -106,6 +107,8 @@
 
     def __getitem__(self, item):
         if item in self.data: return self.data[item]
+        mylog.info("Making a fixed resolution buffer of %d by %d" % \
+            (self.buff_size[0], self.buff_size[1]))
         buff = _MPL.Pixelize(self.data_source['px'],
                              self.data_source['py'],
                              self.data_source['pdx'],


http://bitbucket.org/yt_analysis/yt/changeset/3a0e628bba78/
changeset:   r4105:3a0e628bba78
branch:      stable
user:        sskory
date:        2011-04-12 17:58:42
summary:     Adding print for the fixed resolution buffer image size.
affected #:  1 file (145 bytes)

--- a/yt/visualization/fixed_resolution.py	Mon Apr 11 17:53:34 2011 -0600
+++ b/yt/visualization/fixed_resolution.py	Tue Apr 12 09:58:42 2011 -0600
@@ -23,6 +23,7 @@
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 """
 
+from yt.funcs import *
 from yt.utilities.definitions import \
     x_dict, \
     y_dict, \
@@ -106,6 +107,8 @@
 
     def __getitem__(self, item):
         if item in self.data: return self.data[item]
+        mylog.info("Making a fixed resolution buffer of %d by %d" % \
+            (self.buff_size[0], self.buff_size[1]))
         buff = _MPL.Pixelize(self.data_source['px'],
                              self.data_source['py'],
                              self.data_source['pdx'],

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list