On Mon, Oct 29, 2012 at 9:16 AM, Benjamin Root <ben.r...@ou.edu> wrote:

>
>
> On Mon, Oct 29, 2012 at 1:51 AM, Patrick Marsh 
> <patrickmars...@gmail.com>wrote:
>
>> Greetings,
>>
>> I've banged my head against this problem for 2 days and have given up on
>> figuring it out on my own…
>>
>> After updating numpy and matplotlib to the latest versions from github
>> Saturday morning, I keep getting "AttributeError: incompatible shape for a
>> non-contiguous array" errors all over the place when plotting. When I run
>> tests on numpy, everything passes. When I run tests on matplotlib, I get 51
>> errors, with a vast majority of them (possibly all) being the
>> non-contiguous array errors. (Sample below)
>>
>> Any suggestions here? I'm totally stumped.
>>
>>
>> PTM
>>
>>
>>
> I am guessing this is a problem introduced with NumPy.  I just tried the
> tests with an older NumPy branch, and all seemed fine.  Now testing with
> the most recent branch.
>
> Ben Root
>

Confirming the bug (and it appears to be happening at a spot that I updated
a couple years ago to catch exactly these sort of situations where
reshaping would result in a copy when we didn't want a copy).

I am presuming that it is a NumPy bug and will report it as such to the
numpy list.

Cheers!
Ben Root
------------------------------------------------------------------------------
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to