[yt-users] EPS Multiplot

John Regan johnanthonyregan at gmail.com
Tue Dec 3 05:28:14 PST 2013


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>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>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/
>>
>> 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>> 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>
>>>         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
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20131203/92b5a07c/attachment.html>


More information about the yt-users mailing list