[yt-users] Subplots with annotations

Nathan Goldbaum nathan12343 at gmail.com
Wed Sep 16 16:51:56 PDT 2015


Are you on yt 3.2.1 or newer? There was a bugfix for this issue in that
release.

On Wed, Sep 16, 2015 at 6:50 PM, Mikhail Klassen <klassm at mcmaster.ca> wrote:

> I would like to create a sequence of subplots in yt, but that contain
> annotations.
>
> The example from the yt cookbook shows how to create multi-plots using an
> AxesGrid object:
>
> http://yt-project.org/doc/cookbook/complex_plots.html
>
> 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.
>
> 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.
>
> Cheers,
> Mikhail
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150916/638664ba/attachment.htm>


More information about the yt-users mailing list