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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Mon May 5 19:12:54 PDT 2014


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/ffe8407ff931/
Changeset:   ffe8407ff931
Branch:      yt-3.0
User:        MatthewTurk
Date:        2014-05-06 04:12:46
Summary:     Merged in MatthewTurk/yt/yt-3.0 (pull request #878)

Adding a fix_unitary call in set_width
Affected #:  1 file

diff -r c57198ca259a9b6d9dd7dc8b5237f3d72df7f765 -r ffe8407ff931962371b1aed113f363fcaa412ff5 yt/visualization/plot_window.py
--- a/yt/visualization/plot_window.py
+++ b/yt/visualization/plot_window.py
@@ -515,7 +515,7 @@
             if unit is None:
                 width = (width, 'code_length')
             else:
-                width = (width, unit)
+                width = (width, fix_unitary(unit))
 
         axes_unit = get_axes_unit(width, self.pf)

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