[yt-users] EPS Multiplot
John Wise
jwise at physics.gatech.edu
Tue Dec 3 04:44:32 PST 2013
Hi John,
Last week, I discovered that I didn't extend the capabilities of
eps_writer's multiplot to handle PlotWindows. I'm working on this right
now, and hopefully I'll have something soon.
Cheers,
JOhn
On 12/03/2013 07:43 AM, John Regan wrote:
> Hi All,
>
> Not sure whether this is currently possible but I'd like to create a
> multiplot eps figure containing a selection of projections.
>
> I first of all create my list of OffAxisProjectionPlots (proj) and then
> call
>
> ep = eps.multiplot(1, 2, proj, bare_axes=True).
>
> where proj is a list of plot_window objects.
>
> I'm using the YT dev branch and it's falling over with the error:
>
> Traceback (most recent call last):
> File "OffAxisProjection_MultiPlot.py", line 64, in <module>
> ep = eps.multiplot(1, 2, proj, bare_axes=True)
> File
> "/homeappl/home/regan/appl_taito/YT/Dev/yt-x86_64/src/yt-hg/yt/visualization/eps_writer.py",
> line 934, in multiplot
> d.insert_image_yt(yt_plots[index], pos=(xpos, ypos))
> File
> "/homeappl/home/regan/appl_taito/YT/Dev/yt-x86_64/src/yt-hg/yt/visualization/eps_writer.py",
> line 424, in insert_image_yt
> plot.refresh()
> File
> "/homeappl/home/regan/appl_taito/YT/Dev/yt-x86_64/src/yt-hg/yt/visualization/plot_container.py",
> line 32, in newfunc
> args[0]._recreate_frb()
> File
> "/homeappl/home/regan/appl_taito/YT/Dev/yt-x86_64/src/yt-hg/yt/visualization/plot_window.py",
> line 266, in _recreate_frb
> periodic=self._periodic)
> File
> "/homeappl/home/regan/appl_taito/YT/Dev/yt-x86_64/src/yt-hg/yt/visualization/fixed_resolution.py",
> line 96, in __init__
> h.plots.append(weakref.proxy(self))
> ReferenceError: weakly-referenced object no longer exists
>
> If anyone knows what's happening let me know.
>
> Thanks in advance!
>
> John
>
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
--
John Wise
Assistant Professor of Physics
Center for Relativistic Astrophysics, Georgia Tech
http://cosmo.gatech.edu
More information about the yt-users
mailing list