[yt-users] Adjusting fontsize on yt SlicePlot

DORIS LEE dorislee at berkeley.edu
Sat Sep 19 16:00:01 PDT 2015


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150919/4529954c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: img.png
Type: image/png
Size: 30874 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150919/4529954c/attachment.png>


More information about the yt-users mailing list