[Yt-svn] commit/yt: MatthewTurk: This fixes the orientation of the phase plot.

Bitbucket commits-noreply at bitbucket.org
Tue Apr 26 13:11:47 PDT 2011


1 new changeset in yt:

http://bitbucket.org/yt_analysis/yt/changeset/ef76c3544651/
changeset:   r4207:ef76c3544651
branch:      yt
user:        MatthewTurk
date:        2011-04-26 22:09:46
summary:     This fixes the orientation of the phase plot.
affected #:  1 file (7 bytes)

--- a/yt/visualization/profile_plotter.py	Tue Apr 26 15:55:45 2011 -0400
+++ b/yt/visualization/profile_plotter.py	Tue Apr 26 16:09:46 2011 -0400
@@ -233,7 +233,7 @@
         cbar = self._convert_axis(self.plot.cbar)
         cbar['cmap_image'] = self._get_cbar_image()
         # This is a historical artifact
-        raw_data = self.plot.image.transpose() 
+        raw_data = self.plot.image.transpose()[::-1,:]
 
         if self.plot.cbar.scale == 'log':
             func = na.log10

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