[yt-users] PhasePlot

Nathan Goldbaum nathan12343 at gmail.com
Tue Dec 3 07:12:12 PST 2013


You can do:

import yt
print yt.__version__

Most python packages support this, although it's up to the maintainer to
update the __version__ string manually with each release.


On Tue, Dec 3, 2013 at 10:10 AM, Matthew Turk <matthewturk at gmail.com> wrote:

> You're on the dev branch, so don't worry about point releases.  If you
> update to the tip of the branch "yt" you will have all of the fixes,
> including the ones that will be part of the point release.
>
> On Tue, Dec 3, 2013 at 10:09 AM, David Collins <dcollins4096 at gmail.com>
> wrote:
> >
> > Great, thanks!  I'll make sure to up to the next point release when it
> > happens.
> >
> > I there a way to get which point release I'm on from hg or the hash tag?
> >
> > Thanks a ton,
> > d.
> >
> >
> > On Tue, Dec 3, 2013 at 9:54 AM, Matthew Turk <matthewturk at gmail.com>
> wrote:
> >>
> >> On Tue, Dec 3, 2013 at 9:52 AM, David Collins <dcollins4096 at gmail.com>
> >> wrote:
> >> > Hi, Matt--
> >> >
> >> > a.) I'm on 4aede64dc503.
> >>
> >> Ah, it's after that.  You should be able to update along the DAG to
> >> the tip of "yt" and get it.
> >>
> >> > b.) Ok, I'll keep an eye out for that.  Is that a point release to
> >> > yt-3.0?
> >>
> >> Nope, it'll be 2.6.1.
> >>
> >> > I'm behind on getting my analysis scripts up to speed on that.
> >> >
> >> > d.
> >> >
> >> >
> >> >
> >> > On Tue, Dec 3, 2013 at 9:40 AM, Matthew Turk <matthewturk at gmail.com>
> >> > wrote:
> >> >>
> >> >> Hi Dave,
> >> >>
> >> >> Two things -- 1) which hash are you on, and 2) we recently fixed a
> >> >> show-stopping bug, which will be part of a point release to come out
> >> >> today or tomorrow, that inverted the axes for PhasePlot.
> >> >>
> >> >> -Matt
> >> >>
> >> >> On Tue, Dec 3, 2013 at 9:36 AM, David Collins <
> dcollins4096 at gmail.com>
> >> >> wrote:
> >> >> > Hi, everybody--
> >> >> >
> >> >> > What's the easiest (up-to-date, non PlotCollection) way to make
> Phase
> >> >> > Plots?
> >> >> >
> >> >> > I'm looking at this
> >> >> >
> >> >> >
> >> >> >
> http://yt-project.org/docs/dev/cookbook/simple_plots.html#simple-phase-plots
> >> >> >
> >> >> > but PhasePlot seems to not be defined.  I like this functionality
> >> >> > much
> >> >> > better than the way I've been doing it.  is this an error in the
> >> >> > docs,
> >> >> > or am
> >> >> > I doing something wrong?
> >> >> >
> >> >> > Thanks,
> >> >> > d.
> >> >> >
> >> >> >>>> my_sphere = pf.h.sphere([0.5]*3,0.01)
> >> >> >
> >> >> >>>> my_sphere['Density'].sum()
> >> >> >
> >> >> > 35873.120598941576
> >> >> >
> >> >> >>>> plot = PhasePlot(my_sphere,"Density","Temperature",'CellMass')
> >> >> >
> >> >> > Traceback (most recent call last):
> >> >> >
> >> >> >   File "<stdin>", line 1, in <module>
> >> >> >
> >> >> > NameError: name 'PhasePlot' is not defined--
> >> >> >
> >> >> >
> >> >> > Is this an
> >> >> >
> >> >> >
> >> >> >
> >> >> > -- Sent from a computer.
> >> >> >
> >> >> > _______________________________________________
> >> >> > yt-users mailing list
> >> >> > yt-users at lists.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
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > -- Sent from a computer.
> >> >
> >> > _______________________________________________
> >> > yt-users mailing list
> >> > yt-users at lists.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
> >
> >
> >
> >
> > --
> > -- Sent from a computer.
> >
> > _______________________________________________
> > yt-users mailing list
> > yt-users at lists.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20131203/88a37ca0/attachment.htm>


More information about the yt-users mailing list