[yt-svn] commit/yt: ngoldbaum: Fixing the docstring in the timestamp callback.

Bitbucket commits-noreply at bitbucket.org
Wed Nov 7 12:39:40 PST 2012


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/e936dc471751/
changeset:   e936dc471751
branch:      yt
user:        ngoldbaum
date:        2012-11-07 21:39:29
summary:     Fixing the docstring in the timestamp callback.
affected #:  1 file

diff -r 41c8bf82c39fdb3bd150823ae52fec95d9fa2fbe -r e936dc471751440fb68c417a6bb97d56dc3fad8e yt/visualization/plot_modifications.py
--- a/yt/visualization/plot_modifications.py
+++ b/yt/visualization/plot_modifications.py
@@ -1170,10 +1170,11 @@
           }
     _bbox_dict = {'boxstyle': 'square,pad=0.6', 'fc': 'white', 'ec': 'black', 'alpha': 1.0}
 
-    def __init__(self, x, y, units=None, format="{time:.3G} {units}", normalized = False, 
-                 bbox_dict = None, **kwargs):
+    def __init__(self, x, y, units=None, format="{time:.3G} {units}", normalized=False, 
+                 bbox_dict=None, **kwargs):
         """ 
-        annotate_timestamp(x, y, units=None, format="{time:.3G} {units}", **kwargs)
+        annotate_timestamp(x, y, units=None, format="{time:.3G} {units}", **kwargs,
+                           normalized=False, bbox_dict=None)
 
         Adds the current time to the plot at point given by *x* and *y*.  If *units* 
         is given ('s', 'ms', 'ns', etc), it will covert the time to this basis.  If

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