[yt-users] EPS Multiplot
John Wise
jwise at physics.gatech.edu
Tue Dec 3 06:09:38 PST 2013
Hi John,
Not a stupid question at all.
You can get my changes by doing
hg pull -r e7aebae https://bitbucket.org/jwise77/yt
Cheers,
John
On 12/03/2013 08:28 AM, John Regan wrote:
> Hi John,
>
> Stupid question now - but how do I get my hands on that PR?
> Is there a link somewhere where I can pull from?
>
> John
>
>
> On Tue, Dec 3, 2013 at 3:10 PM, John Regan <johnanthonyregan at gmail.com
> <mailto:johnanthonyregan at gmail.com>> wrote:
>
> Excellent - I'll pull the changeset and let you know!
>
>
> On Tue, Dec 3, 2013 at 3:06 PM, John Wise <jwise at physics.gatech.edu
> <mailto:jwise at physics.gatech.edu>> wrote:
>
> Hi,
>
> 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
>
> https://bitbucket.org/yt___analysis/yt/pull-request/661/
> <https://bitbucket.org/yt_analysis/yt/pull-request/661/>
>
> which has an example in the description. If you could test it
> out, that would be great!
>
> Cheers,
> John
>
>
> On 12/03/2013 07:48 AM, John Regan wrote:
>
> Hi John,
>
> Cool. Sounds good.
>
> Let me know if there is anything I can help with.
>
> Cheers,
> John
>
>
>
>
> On Tue, Dec 3, 2013 at 2:44 PM, John Wise
> <jwise at physics.gatech.edu <mailto:jwise at physics.gatech.edu>
> <mailto:jwise at physics.gatech.__edu
> <mailto:jwise at physics.gatech.edu>>> wrote:
>
> 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
> <mailto:yt-users at lists.spacepope.org>
> <mailto:yt-users at lists.__spacepope.org
> <mailto:yt-users at lists.spacepope.org>>
> http://lists.spacepope.org/____listinfo.cgi/yt-users-____spacepope.org
> <http://lists.spacepope.org/__listinfo.cgi/yt-users-__spacepope.org>
>
>
> <http://lists.spacepope.org/__listinfo.cgi/yt-users-__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
> ___________________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> <mailto:yt-users at lists.spacepope.org>
> <mailto:yt-users at lists.__spacepope.org
> <mailto:yt-users at lists.spacepope.org>>
> http://lists.spacepope.org/____listinfo.cgi/yt-users-____spacepope.org
> <http://lists.spacepope.org/__listinfo.cgi/yt-users-__spacepope.org>
>
> <http://lists.spacepope.org/__listinfo.cgi/yt-users-__spacepope.org
> <http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>>
>
>
>
>
>
> _________________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> <mailto:yt-users at lists.spacepope.org>
> http://lists.spacepope.org/__listinfo.cgi/yt-users-__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
> _________________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org <mailto:yt-users at lists.spacepope.org>
> http://lists.spacepope.org/__listinfo.cgi/yt-users-__spacepope.org
> <http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>
>
>
>
>
>
> _______________________________________________
> 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