[yt-users] EPS Multiplot

John Regan johnanthonyregan at gmail.com
Tue Dec 3 04:43:00 PST 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20131203/2a2f3f79/attachment.htm>


More information about the yt-users mailing list