[yt-users] Adjusting fontsize on yt SlicePlot

Nathan Goldbaum nathan12343 at gmail.com
Sat Sep 19 16:16:01 PDT 2015


On Saturday, September 19, 2015, DORIS LEE <dorislee at berkeley.edu> wrote:

> Hi Cameron,
>
> Thanks for the reply. I tried using set_font_size function as you
> suggested and the coordinate ssytem as axes for the annotate_text but the
> fontsize is still not set the same as the rest of the slice plot (see
> attached plot below). The annotate_text gave an error:
>
> ---------------------------------------------------------------------------TypeError                                 Traceback (most recent call last)//anaconda/lib/python2.7/site-packages/IPython/core/formatters.pyc in __call__(self, obj)    332             method = _safe_get_formatter_method(obj, self.print_method)    333             if method is not None:--> 334                 return method()    335             return None    336         else:
> /global/homes/d/dorislee/mypythonpackages/yt/visualization/plot_container.pyc in newfunc(*args, **kwargs)     40     def newfunc(*args, **kwargs):     41         try:---> 42             args[0].run_callbacks()     43         except NotImplementedError:     44             pass
> /global/homes/d/dorislee/mypythonpackages/yt/visualization/plot_container.pyc in run_callbacks(self)    432                 cbw = CallbackWrapper(self, self.plots[f], self.frb, f)    433                 CallbackMaker = callback_registry[name]--> 434                 callback = CallbackMaker(*args[1:], **kwargs)    435                 callback(cbw)    436             for key in self.frb.keys():
> TypeError: __init__() got an unexpected keyword argument 'coord_system'
>
> This issue still persist after I updated my yt version to latest yt 3.1
> version.
>


The latest version is yt 3.2.1. Was this a typo?

Unfortunately I'm not near a computer so I can't try to reproduce this
right now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150919/9505ad72/attachment.html>


More information about the yt-users mailing list