<html><body>
<p>2 new commits in yt:</p>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/8a8b13b4444d/">https://bitbucket.org/yt_analysis/yt/commits/8a8b13b4444d/</a> Changeset:   8a8b13b4444d Branch:      yt User:        MatthewTurk Date:        2016-04-06 18:51:12+00:00 Summary:     Allow for the special case of supplying width as a tuple of tuples. Affected #:  1 file</p>
<p>diff -r 2b15ed4adb92292dc18d50f778b813f7e003cfc3 -r 8a8b13b4444d3c4fc6a90a2eae6143be7a056826 yt/data_objects/data_containers.py --- a/yt/data_objects/data_containers.py +++ b/yt/data_objects/data_containers.py @@ -1432,6 +1432,9 @@</p>
<pre>center = self.ds.arr(center, 'code_length')
         if iterable(width):
w, u = width</pre>
<p>+            if isinstance(w, tuple) and isinstance(u, tuple): +                height = u +                w, u = w</p>
<pre>width = self.ds.quan(w, input_units = u)
         elif not isinstance(width, YTArray):
width = self.ds.quan(width, 'code_length')</pre>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/e1b2e0a5997f/">https://bitbucket.org/yt_analysis/yt/commits/e1b2e0a5997f/</a> Changeset:   e1b2e0a5997f Branch:      yt User:        xarthisius Date:        2016-04-07 00:51:28+00:00 Summary:     Merged in MatthewTurk/yt (pull request #2111)</p>
<p>Allow for the special case of supplying width as a tuple of tuples.  Closes #1012 Affected #:  1 file</p>
<p>diff -r aca5c1974288c97c26833a95506c54554cb77f1e -r e1b2e0a5997f0cce7ff52547347e9e5214ad0d5c yt/data_objects/data_containers.py --- a/yt/data_objects/data_containers.py +++ b/yt/data_objects/data_containers.py @@ -1432,6 +1432,9 @@</p>
<pre>center = self.ds.arr(center, 'code_length')
         if iterable(width):
w, u = width</pre>
<p>+            if isinstance(w, tuple) and isinstance(u, tuple): +                height = u +                w, u = w</p>
<pre>width = self.ds.quan(w, input_units = u)
         elif not isinstance(width, YTArray):
width = self.ds.quan(width, 'code_length')</pre>
<p>Repository URL: <a href="https://bitbucket.org/yt_analysis/yt/">https://bitbucket.org/yt_analysis/yt/</a></p>
<p>—</p>
<p>This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.</p>

<img src="http://link.bitbucket.org/wf/open?upn=ll4ctv0L-2ByeRZFC1LslHcg6aJmnQ70VruLbmeLQr27DLKCX6lypPbPTfxhnGdUs89z2j-2BLBr2PlxTvgyspttw-2F4GZcj8AFBzxw4XuNc-2FOzPgSYj8p-2BPRICYq4gLcASkWmLp5R7To34DeuZp7tHMGXYoj7EdGFETXLaqMCxdkIKdRB6-2FJcoEswjduIp-2FnB10rLYGlCFfPmXjLluwIx60dVMtoHXOFEyKD5UxsMkl4dIc-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>