[yt-users] EPS Multiplot
John Regan
johnanthonyregan at gmail.com
Tue Dec 3 06:26:45 PST 2013
Hi John,
I'm getting a problem with the profile_plotter.py file.
Traceback (most recent call last):
File "OffAxisProjection_MultiPlot.py", line 12, in <module>
import yt.visualization.eps_writer as eps
File
"/homeappl/home/regan/appl_taito/YT/Dev/yt-x86_64/src/yt-hg/yt/visualization/eps_writer.py",
line 31, in <module>
from .profile_plotter import PhasePlot
File
"/homeappl/home/regan/appl_taito/YT/Dev/yt-x86_64/src/yt-hg/yt/visualization/profile_plotter.py",
line 31, in <module>
from .plot_container import \
ImportError: No module named plot_container
John
On Tue, Dec 3, 2013 at 4:09 PM, John Wise <jwise at physics.gatech.edu> wrote:
> 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
> _______________________________________________
> 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/81d9f82d/attachment.html>
More information about the yt-users
mailing list