[yt-users] pf.proj docs

David Collins dcollins4096 at gmail.com
Mon Dec 15 10:00:25 PST 2014


Which branch should I make the change to?

On Mon, Dec 15, 2014 at 12:34 PM, Nathan Goldbaum <nathan12343 at gmail.com>
wrote:
>
>
>
> 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
>>
>>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>

-- 
-- Sent from a computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20141215/a2af5335/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