[yt-svn] commit/yt: samskillman: Should be **mpl_kwargs to get MPL to parse it correctly.

Bitbucket commits-noreply at bitbucket.org
Mon Sep 17 13:55:10 PDT 2012


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/165fc415608a/
changeset:   165fc415608a
branch:      yt
user:        samskillman
date:        2012-09-17 22:53:42
summary:     Should be **mpl_kwargs to get MPL to parse it correctly.
affected #:  1 file

diff -r 27378d5fc23db4ebee055507307b77d29e25165b -r 165fc415608a397479110e532109c5a6f773650e yt/visualization/plot_window.py
--- a/yt/visualization/plot_window.py
+++ b/yt/visualization/plot_window.py
@@ -1292,7 +1292,7 @@
             else:
                 mylog.warning("Unknown suffix %s, defaulting to Agg", suffix)
                 canvas = FigureCanvasAgg(self.figure)
-        canvas.print_figure(fn,mpl_kwargs)
+        canvas.print_figure(fn,**mpl_kwargs)
         return fn
 
     def _get_best_layout(self, size):

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