[Numpy-discussion] Why is numpy.ma.extras.clump_masked() not in main documentation?

Yuxiang Wang yw5aj at virginia.edu
Sun Dec 28 15:35:24 EST 2014


Hi Ralf,

Thanks for the quick response! I will submit a PR soon. I noticed
there are some other functions with outdated examples, such as
numpy.ma.notmasked_contiguous() (still using the
numpy.ma.extras.notmasked_contiguous).

-Shawn

On Sun, Dec 28, 2014 at 3:04 PM, Ralf Gommers <ralf.gommers at gmail.com> wrote:
>
>
> On Sun, Dec 28, 2014 at 8:48 PM, Yuxiang Wang <yw5aj at virginia.edu> wrote:
>>
>> Dear all,
>>
>> I am really glad to find out a very useful function called
>> numpy.ma.extras.clump_masked(), and it is indeed well documented if
>> you look into the source. However, may I ask why does it not show up
>> in the main documentation website
>> (http://docs.scipy.org/doc/numpy/reference/routines.ma.html)?
>
>
> Because they (there's also clump_unmasked) weren't added to the function
> list in doc/source/reference/routines.ma.rst. Care to send a PR for that?
>
> Other todo there is to fix up the examples, they should be used as
> np.ma.clump_masked not np.ma.extras.clump_masked.
>
> Cheers,
> Ralf
>
>
>>
>>
>> Not a big deal, just being curious.
>>
>> Shawn
>>
>> --
>> Yuxiang "Shawn" Wang
>> Gerling Research Lab
>> University of Virginia
>> yw5aj at virginia.edu
>> +1 (434) 284-0836
>> https://sites.google.com/a/virginia.edu/yw5aj/
>> _______________________________________________
>> NumPy-Discussion mailing list
>> NumPy-Discussion at scipy.org
>> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>



-- 
Yuxiang "Shawn" Wang
Gerling Research Lab
University of Virginia
yw5aj at virginia.edu
+1 (434) 284-0836
https://sites.google.com/a/virginia.edu/yw5aj/



More information about the NumPy-Discussion mailing list