[yt-users] Place plot on a specified matplotlib axis

David Ketcheson david.ketcheson at kaust.edu.sa
Thu Jan 8 22:13:15 PST 2015


I would like to insert a yt-generated plot in a particular matplotlib axes object that I created. In matplotlib, I can do this via

fig2 = plt.figure()
ax2 = fig2.add_axes([0.15, 0.1, 0.7, 0.3])
ax2.plot(x,y)

which will place the plot on the axes ax2.  Is there any way to do this in yt?


​

________________________________

This message and its contents including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150109/618bac5d/attachment.htm>


More information about the yt-users mailing list