<div dir="ltr">Are you on yt 3.2.1 or newer? There was a bugfix for this issue in that release.<br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 16, 2015 at 6:50 PM, Mikhail Klassen <span dir="ltr"><<a href="mailto:klassm@mcmaster.ca" target="_blank">klassm@mcmaster.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">I would like to create a sequence of subplots in yt, but that contain annotations.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">The example from the yt cookbook shows how to create multi-plots using an AxesGrid object:</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif"><a href="http://yt-project.org/doc/cookbook/complex_plots.html" target="_blank">http://yt-project.org/doc/cookbook/complex_plots.html</a></font><br></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">However, in trying to replicate this example, I haven't managed to have subfigures that each make use of yt's annotation tools, such as annotate_scale() or annotate_streamlines(). This would be very useful to me if somebody knows how to do this.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">In matplotlib, one can typically just add new subplot axes, modify the plot at will, and then move on to the next set of axes. I can't seem to do this with yt and still keep my annotations.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Cheers,</font></div><div><font face="arial, helvetica, sans-serif">Mikhail</font></div></div>
<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div></div>