<div dir="ltr">Excellent - I'll pull the changeset and let you know!<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 3, 2013 at 3:06 PM, John Wise <span dir="ltr"><<a href="mailto:jwise@physics.gatech.edu" target="_blank">jwise@physics.gatech.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
It's funny that you emailed right now because I was just putting the final touches on my changes this morning! I've just submitted a pull request<br>
<br>
<a href="https://bitbucket.org/yt_analysis/yt/pull-request/661/" target="_blank">https://bitbucket.org/yt_<u></u>analysis/yt/pull-request/661/</a><br>
<br>
which has an example in the description. If you could test it out, that would be great!<br>
<br>
Cheers,<br>
John<div class="im"><br>
<br>
On 12/03/2013 07:48 AM, John Regan wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hi John,<br>
<br>
Cool. Sounds good.<br>
<br>
Let me know if there is anything I can help with.<br>
<br>
Cheers,<br>
John<br>
<br>
<br>
<br>
<br>
On Tue, Dec 3, 2013 at 2:44 PM, John Wise <<a href="mailto:jwise@physics.gatech.edu" target="_blank">jwise@physics.gatech.edu</a><br></div><div class="im">
<mailto:<a href="mailto:jwise@physics.gatech.edu" target="_blank">jwise@physics.gatech.<u></u>edu</a>>> wrote:<br>
<br>
Hi John,<br>
<br>
Last week, I discovered that I didn't extend the capabilities of<br>
eps_writer's multiplot to handle PlotWindows. I'm working on this<br>
right now, and hopefully I'll have something soon.<br>
<br>
Cheers,<br>
JOhn<br>
<br>
<br>
On 12/03/2013 07:43 AM, John Regan wrote:<br>
<br>
Hi All,<br>
<br>
Not sure whether this is currently possible but I'd like to create a<br>
multiplot eps figure containing a selection of projections.<br>
<br>
I first of all create my list of OffAxisProjectionPlots (proj)<br>
and then<br>
call<br>
<br>
ep = eps.multiplot(1, 2, proj, bare_axes=True).<br>
<br>
where proj is a list of plot_window objects.<br>
<br>
I'm using the YT dev branch and it's falling over with the error:<br>
<br>
Traceback (most recent call last):<br></div>
File "OffAxisProjection_MultiPlot._<u></u>_py", line 64, in <module><div class="im"><br>
ep = eps.multiplot(1, 2, proj, bare_axes=True)<br>
File<br></div>
"/homeappl/home/regan/appl___<u></u>taito/YT/Dev/yt-x86_64/src/yt-<u></u>__hg/yt/visualization/eps___<u></u>writer.py",<br>
line 934, in multiplot<br>
d.insert_image_yt(yt_plots[__<u></u>index], pos=(xpos, ypos))<br>
File<br>
"/homeappl/home/regan/appl___<u></u>taito/YT/Dev/yt-x86_64/src/yt-<u></u>__hg/yt/visualization/eps___<u></u>writer.py",<div class="im"><br>
line 424, in insert_image_yt<br>
plot.refresh()<br>
File<br></div>
"/homeappl/home/regan/appl___<u></u>taito/YT/Dev/yt-x86_64/src/yt-<u></u>__hg/yt/visualization/plot___<u></u>container.py",<div class="im"><br>
line 32, in newfunc<br>
args[0]._recreate_frb()<br>
File<br></div>
"/homeappl/home/regan/appl___<u></u>taito/YT/Dev/yt-x86_64/src/yt-<u></u>__hg/yt/visualization/plot___<u></u>window.py",<div class="im"><br>
line 266, in _recreate_frb<br>
periodic=self._periodic)<br>
File<br></div>
"/homeappl/home/regan/appl___<u></u>taito/YT/Dev/yt-x86_64/src/yt-<u></u>__hg/yt/visualization/fixed___<u></u>resolution.py",<br>
line 96, in __init__<br>
h.plots.append(weakref.proxy(_<u></u>_self))<div class="im"><br>
ReferenceError: weakly-referenced object no longer exists<br>
<br>
If anyone knows what's happening let me know.<br>
<br>
Thanks in advance!<br>
<br>
John<br>
<br>
<br>
<br></div>
______________________________<u></u>___________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a> <mailto:<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.<u></u>spacepope.org</a>><br>
<a href="http://lists.spacepope.org/__listinfo.cgi/yt-users-__spacepope.org" target="_blank">http://lists.spacepope.org/__<u></u>listinfo.cgi/yt-users-__<u></u>spacepope.org</a><div class="im"><br>
<<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/<u></u>listinfo.cgi/yt-users-<u></u>spacepope.org</a>><br>
<br>
<br>
--<br>
John Wise<br>
Assistant Professor of Physics<br>
Center for Relativistic Astrophysics, Georgia Tech<br>
<a href="http://cosmo.gatech.edu" target="_blank">http://cosmo.gatech.edu</a><br></div>
______________________________<u></u>___________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a> <mailto:<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.<u></u>spacepope.org</a>><br>
<a href="http://lists.spacepope.org/__listinfo.cgi/yt-users-__spacepope.org" target="_blank">http://lists.spacepope.org/__<u></u>listinfo.cgi/yt-users-__<u></u>spacepope.org</a><br>
<<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/<u></u>listinfo.cgi/yt-users-<u></u>spacepope.org</a>><div class="im"><br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/<u></u>listinfo.cgi/yt-users-<u></u>spacepope.org</a><br>
<br>
</div></blockquote><div class="HOEnZb"><div class="h5">
<br>
-- <br>
John Wise<br>
Assistant Professor of Physics<br>
Center for Relativistic Astrophysics, Georgia Tech<br>
<a href="http://cosmo.gatech.edu" target="_blank">http://cosmo.gatech.edu</a><br>
______________________________<u></u>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/<u></u>listinfo.cgi/yt-users-<u></u>spacepope.org</a><br>
</div></div></blockquote></div><br></div>