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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Sat Jul 12 07:28:18 PDT 2014


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/8b5722e4d76e/
Changeset:   8b5722e4d76e
Branch:      yt-3.0
User:        ngoldbaum
Date:        2014-07-11 18:21:52
Summary:     Adding docs for the transpose keyword of write_bitmap.  Closes #807.
Affected #:  1 file

diff -r 14dfbdf28b07dd18e112abafce364d04a4864829 -r 8b5722e4d76e627a2b014fcd56e6ef3652aee476 yt/visualization/image_writer.py
--- a/yt/visualization/image_writer.py
+++ b/yt/visualization/image_writer.py
@@ -136,6 +136,10 @@
     max_val : float, optional
         The upper limit to clip values to in the output, if converting to uint8.
         If `bitmap_array` is already uint8, this will be ignore.
+    transpose : boolean, optional
+        If transpose is False, we assume that the incoming bitmap_array is such
+        that the first element resides in the upper-left corner.  If True, the
+        first element will be placed in the lower-left corner.
     """
     if len(bitmap_array.shape) != 3 or bitmap_array.shape[-1] not in (3,4):
         raise RuntimeError


https://bitbucket.org/yt_analysis/yt/commits/1a47e73ec267/
Changeset:   1a47e73ec267
Branch:      yt-3.0
User:        MatthewTurk
Date:        2014-07-12 16:28:13
Summary:     Merged in ngoldbaum/yt/yt-3.0 (pull request #1011)

Adding docs for the transpose keyword of write_bitmap.  Closes #807.
Affected #:  1 file

diff -r 9abe969426fd2da259434ee4cbefceccce62a410 -r 1a47e73ec267b98ead72a5dd02b89aa045ecb25d yt/visualization/image_writer.py
--- a/yt/visualization/image_writer.py
+++ b/yt/visualization/image_writer.py
@@ -136,6 +136,10 @@
     max_val : float, optional
         The upper limit to clip values to in the output, if converting to uint8.
         If `bitmap_array` is already uint8, this will be ignore.
+    transpose : boolean, optional
+        If transpose is False, we assume that the incoming bitmap_array is such
+        that the first element resides in the upper-left corner.  If True, the
+        first element will be placed in the lower-left corner.
     """
     if len(bitmap_array.shape) != 3 or bitmap_array.shape[-1] not in (3,4):
         raise RuntimeError

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