[yt-svn] commit/yt: ngoldbaum: Fixing a bug pointed out on the mailing list by Sherwood Richers.

Bitbucket commits-noreply at bitbucket.org
Fri Aug 3 17:19:25 PDT 2012


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/9a736000a652/
changeset:   9a736000a652
branch:      stable
user:        ngoldbaum
date:        2012-08-04 00:14:15
summary:     Fixing a bug pointed out on the mailing list by Sherwood Richers.
affected #:  1 file

diff -r 4fc8fc9b8c10170b232e0aba44989477be82e9bb -r 9a736000a6523f75744d9a9b0a0d538fa34ab3bc yt/utilities/command_line.py
--- a/yt/utilities/command_line.py
+++ b/yt/utilities/command_line.py
@@ -1236,7 +1236,7 @@
                 plt = SlicePlot(pf, ax, args.field, center=center,
                                 width=width)
             if args.grids:
-                plt.draw_grids()
+                plt.annotate_grids()
             if args.time: 
                 time = pf.current_time*pf['Time']*pf['years']
                 plt.annotate_text((0.2,0.8), 't = %5.2e yr'%time)

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