[yt-svn] commit/yt: ngoldbaum: Merged in ngoldbaum/yt/yt-3.0 (pull request #917)

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu May 22 23:16:48 PDT 2014


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/6f681b19224f/
Changeset:   6f681b19224f
Branch:      yt-3.0
User:        ngoldbaum
Date:        2014-05-23 08:16:41
Summary:     Merged in ngoldbaum/yt/yt-3.0 (pull request #917)

Fixing set_unit for PhasePlot, which was broken by 2e2bd60
Affected #:  1 file

diff -r 89068196ae22b86b7b5e898b2c5337af8f216bed -r 6f681b19224faa0da84c74735a03c144f78ef641 yt/visualization/profile_plotter.py
--- a/yt/visualization/profile_plotter.py
+++ b/yt/visualization/profile_plotter.py
@@ -852,6 +852,7 @@
             self.profile.set_y_unit(unit)
         elif field in fields:
             self.profile.set_field_unit(field, unit)
+            self.plots[field].zmin, self.plots[field].zmax = (None, None)
         else:
             raise KeyError("Field %s not in phase plot!" % (field))
         return self

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