[yt-svn] commit/yt: devinsilvia: Fixing the time calculation in 'yt plot' for the command line.
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Tue Sep 3 08:00:12 PDT 2013
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/64762b831371/
Changeset: 64762b831371
Branch: yt
User: devinsilvia
Date: 2013-08-31 00:47:15
Summary: Fixing the time calculation in 'yt plot' for the command line.
Affected #: 1 file
diff -r e820b67495dcc4c76181af1898918ebc102eebe4 -r 64762b831371c1847ce38dd11d16a2b0cadfb001 yt/utilities/command_line.py
--- a/yt/utilities/command_line.py
+++ b/yt/utilities/command_line.py
@@ -1320,7 +1320,7 @@
if args.grids:
plt.annotate_grids()
if args.time:
- time = pf.current_time*pf['Time']*pf['years']
+ time = pf.current_time*pf['years']
plt.annotate_text((0.2,0.8), 't = %5.2e yr'%time)
plt.set_cmap(args.field, args.cmap)
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