[yt-users] pf.proj docs

Nathan Goldbaum nathan12343 at gmail.com
Mon Dec 15 09:34:35 PST 2014


On Mon, Dec 15, 2014 at 9:30 AM, David Collins <dcollins4096 at gmail.com>
wrote:
>
> Hi, Everybody--
>
> When getting a projection from a parameter file, like this,
>
> >>> proj = pf.proj(0, 'density')
> the order in the parameters 'axis' and 'field' has switched form yt2.x to
> yt3.x, but the docs didn't follow suit:
>
> >>> help(pf.proj)
>
> still has
>
>  |  >>> ds = load("RedshiftOutput0005")
>  |  >>> prj = ds.proj(0, "density")
>  |  >>> print proj["density"]
>

Good eye! Yes, that was due to an oversight.  A patch would be great.


>
> Am I correct in assuming that this is a hungover docstring?  I can submit
> a fix to that, if that's right.
>
> d.
>
> --
> -- Sent from a computer.
>
> _______________________________________________
> 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/20141215/e45db030/attachment.htm>
-------------- next part --------------
_______________________________________________
yt-users mailing list
yt-users at lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org


More information about the yt-users mailing list