[Numpy-discussion] ma's maximum_fill_value function in 1.1.0

2008-06-19 Thread Reggie Dugard
fill_value/minimum_fill_value and I'm forced to get them from numpy.ma.core (which doesn't seem like a very clean way of doing it). So I guess my question is: was this done intentionally and if so why, or can these functions be added to __all__ to get the old behavior back. Thanks for your help w

Re: [Numpy-discussion] Please help with subclassing numpy.ndarray

2007-02-07 Thread Reggie Dugard
On Wed, 2007-02-07 at 14:36 -0700, Travis Oliphant wrote: > Sturla Molden wrote: > > >>def __new__(cls,...) > >> ... > >>(H, edges) = numpy.histogramdd(..) > >>cls.__defaultedges = edges > >> > >>def __array_finalize__(self, obj): > >>if not hasattr(self, 'edges'): > >>sel