On Mo, 2014-06-09 at 18:21 -0600, Charles R Harris wrote:
> 
> 
> 
> On Mon, Jun 9, 2014 at 6:10 PM, Charles R Harris
> <charlesr.har...@gmail.com> wrote:
>         

<snip>
>         
>         
> 
> 
> Other errors are of the type:
> TypeError: NumPy boolean array indexing assignment requires a 0 or 
> 1-dimensionalinput, input has 2 dimensions
>  This one looks to arise is from stricter rules for boolean indexing.
> 

Hmmmm, I may have removed an "if size of the boolean index matches the
size of the output array ignore the shape (dimensions)" special cased, I
guess we can put that in again.

The other error looks a bit different because of the nonzero logic, but
probably is the same, i.e. also boolean indexing. The last one is the
change that `arr[[1,2,3,4]] = [1,2]` does not work anymore. A workaround
(maybe also for the rest possibly) is `arr.flat[[1,2,3,4]] = [1,2]`, but
I guess workarounds are not an option with matplotlib, so have to think
about it.

- Sebastian

> Chuck
> 
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to