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

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


1 new commit in yt:

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