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

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


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/b7a4756f9572/
Changeset:   b7a4756f9572
Branch:      yt-3.0
User:        ngoldbaum
Date:        2014-05-21 23:38:54
Summary:     Fixing set_unit for PhasePlot, which was broken by 2e2bd60
Affected #:  1 file

diff -r 72c8fdbc3b92675a74f1e9136350cf1c6c4c46fa -r b7a4756f957265ee6cb59269499cb3d9fa790c87 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


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