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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Fri Dec 12 08:08:27 PST 2014


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/c76efa9637b2/
Changeset:   c76efa9637b2
Branch:      yt
User:        ngoldbaum
Date:        2014-12-12 00:38:43+00:00
Summary:     Set paper orientation to prevent weirdness in postscript backends. Closes #954
Affected #:  1 file

diff -r e936ed325441400e985218d68c924517ed5ff52f -r c76efa9637b2eed1342e349cf1b7bf46a251ad32 yt/visualization/base_plot_types.py
--- a/yt/visualization/base_plot_types.py
+++ b/yt/visualization/base_plot_types.py
@@ -72,6 +72,8 @@
         """Choose backend and save image to disk"""
         if mpl_kwargs is None:
             mpl_kwargs = {}
+        if 'papertype' not in mpl_kwargs:
+            mpl_kwargs['papertype'] = 'auto'
 
         suffix = get_image_suffix(name)
         if suffix == '':


https://bitbucket.org/yt_analysis/yt/commits/32e76b43b9a5/
Changeset:   32e76b43b9a5
Branch:      yt
User:        MatthewTurk
Date:        2014-12-12 16:08:16+00:00
Summary:     Merged in ngoldbaum/yt (pull request #1353)

Set paper orientation to prevent weirdness in postscript backends. Closes #954
Affected #:  1 file

diff -r 005959a6fd43066a0a27ed363ec34aa340a69691 -r 32e76b43b9a5e13e8a0452cba7bfe2e5b543ecbc yt/visualization/base_plot_types.py
--- a/yt/visualization/base_plot_types.py
+++ b/yt/visualization/base_plot_types.py
@@ -72,6 +72,8 @@
         """Choose backend and save image to disk"""
         if mpl_kwargs is None:
             mpl_kwargs = {}
+        if 'papertype' not in mpl_kwargs:
+            mpl_kwargs['papertype'] = 'auto'
 
         suffix = get_image_suffix(name)
         if suffix == '':

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