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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu Jul 3 00:07:53 PDT 2014


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/816579702cce/
Changeset:   816579702cce
Branch:      yt-3.0
User:        ngoldbaum
Date:        2014-07-03 09:07:46
Summary:     Merged in ngoldbaum/yt/yt-3.0 (pull request #988)

Fixing an issue with PhasePlot.save not returning the correct image filename.
Affected #:  1 file

diff -r c3d17397f8c1f1f82df9d7d255e3e8f8964df57d -r 816579702cce20241be167d6a5f303014f2cf491 yt/visualization/profile_plotter.py
--- a/yt/visualization/profile_plotter.py
+++ b/yt/visualization/profile_plotter.py
@@ -883,7 +883,7 @@
                 for k, v in self.plots.iteritems():
                     names.append(v.save(name, mpl_kwargs))
                 return names
-            fn = "%s_%s%s" % (prefix, middle, suffix)
+            fn = "%s_%s%s" % (prefix, middle, '.png')
             names.append(fn)
             self.plots[f].save(fn, mpl_kwargs)
         return names

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