[Yt-svn] yt-commit r1238 - trunk/yt/raven

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Thu Mar 26 09:20:29 PDT 2009


Author: mturk
Date: Thu Mar 26 09:20:28 2009
New Revision: 1238
URL: http://yt.spacepope.org/changeset/1238

Log:
Added _type_name to TextLabelCallback so it shows up in .modify[]



Modified:
   trunk/yt/raven/Callbacks.py

Modified: trunk/yt/raven/Callbacks.py
==============================================================================
--- trunk/yt/raven/Callbacks.py	(original)
+++ trunk/yt/raven/Callbacks.py	Thu Mar 26 09:20:28 2009
@@ -789,6 +789,7 @@
         plot._figure.subplots_adjust(left=0.1,right=0.8)
 
 class TextLabelCallback(PlotCallback):
+    _type_name = "text"
     def __init__(self, pos, text, text_args = None):
         """
         Accepts a position in (0..1, 0..1) of the image,



More information about the yt-svn mailing list