[yt-svn] commit/yt: MatthewTurk: Fixing bug with text_args in Point callback

Bitbucket commits-noreply at bitbucket.org
Sun Jul 8 16:48:25 PDT 2012


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/dab58ec7b5e2/
changeset:   dab58ec7b5e2
branch:      yt
user:        MatthewTurk
date:        2012-07-09 01:47:55
summary:     Fixing bug with text_args in Point callback
affected #:  1 file

diff -r 2cdcd4e6512919d48d3d1292864f26be791601c0 -r dab58ec7b5e2a3eacdc6fa78b8022ec89fb0cbab yt/visualization/plot_modifications.py
--- a/yt/visualization/plot_modifications.py
+++ b/yt/visualization/plot_modifications.py
@@ -635,6 +635,7 @@
         """
         self.pos = pos
         self.text = text
+        if text_args is None: text_args = {}
         self.text_args = text_args
 
     def __call__(self, plot):

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