Re: Numeric + wxPython, can't understand a bug...

2007-04-28 Thread John Ladasky
On Apr 27, 9:40 pm, Robert Kern <[EMAIL PROTECTED]> wrote: > wx.Point objects are being recognized as sequences by array(). Consequently, > reshape() thinks you are trying to reshape a (height*width, 2) array into a > (height, width) array. You might want to create an empty (height, width) > PyObj

Re: Numeric + wxPython, can't understand a bug...

2007-04-27 Thread Robert Kern
John Ladasky wrote: > Hi, folks, > > This probably has to do with Numeric and not with wxPython, but I > mention both for completeness. > > My OS: Win2000 > Python: 2.3.4 > wx: 2.6.1.0, Unicode version > Numeric: 23.8 > > > Here's the minimal code: >

Numeric + wxPython, can't understand a bug...

2007-04-27 Thread John Ladasky
Hi, folks, This probably has to do with Numeric and not with wxPython, but I mention both for completeness. My OS: Win2000 Python: 2.3.4 wx: 2.6.1.0, Unicode version Numeric: 23.8 Here's the minimal code: height = 50 width = 60 L = [] for y in r