Re: [Matplotlib-users] Fixed wxcursor_demo.py example, please commit

2006-08-14 Thread John Hunter
> "John" == John Hunter <[EMAIL PROTECTED]> writes: John> But the example was written a long time ago and since then John> many wx users have contributed new/better/more/different wx John> examples (embedding_in_wx[1-4].py) to atone for the original Please forgive everything I wr

Re: [Matplotlib-users] Fixed wxcursor_demo.py example, please commit

2006-08-14 Thread John Hunter
> "Daniel" == Daniel Kornhauser <[EMAIL PROTECTED]> writes: Daniel> This said, I thank a lot the person who started the Daniel> example since I used it as a starting point. You should also thank that person because he (Jeremy O'Donoghue) wrote the wx backend . But the example was w

[Matplotlib-users] Fixed wxcursor_demo.py example, please commit

2006-08-14 Thread Daniel Kornhauser
I am making a new wxcursor_demo.py example I attach it to this mail. If anybody can help me iron those wrinkles I think we can make a great wxcursor_demo example. I am not proud of invoking the SetCursor method on the wx.EVT_PAINT event but it works ... The present wxcursor_demo example is

Re: [Matplotlib-users] quiver , contourf , nans

2006-08-14 Thread Eric Firing
Support for nan in inputs to matplotlib is presently spotty (and mostly accidental); use masked arrays instead. Masked arrays have been supported by contourf for a long time, but I added masked array support to quiver (and only for u and v, not for x and y) only very recently, so until a new

[Matplotlib-users] quiver , contourf , nans

2006-08-14 Thread Dwishen Ramanah
Dear all, I have to quiver(x,y,u,v) , where u,v are displacement vectors and x,y their position. I also have to contourf(x,y,u) u and v have some nan elements. how does matplotlib handle nans because it returns this error: ValueError: math domain error Thanks Dwishen -

Re: [Matplotlib-users] Problems upgrading to mpl 0.87.4

2006-08-14 Thread Stefan van der Walt
On Mon, Aug 14, 2006 at 11:12:29AM -0700, Christopher Barker wrote: > Another (or additional) option is for both MPL and wx to support the new > array interface protocol in numpy. There's a lot of other reasons to do > that, and, again, Robin has expressed his support for this. If we could > get

[Matplotlib-users] Is there a way of hiding the mouse pointer in wxcursor_demo.py ?

2006-08-14 Thread Daniel Kornhauser
Hey guys: Is there a way of hiding the mouse pointer in wxcursor_demo.py ? I just want to keep cursor and do away with the mouse pointer. I want to use it for ROI selection over an image, so the mouse pointer gets in the way. I am so desperate that I even tried SetCursor() knowing it would not

Re: [Matplotlib-users] wxmpl question

2006-08-14 Thread Christopher Barker
Kenny Ortmann wrote: > I am not sure if this would be the right place to ask this question this is more of a wxPython question than an MPL one, so you might have more luck on wxPython-users. > My problem is when i go to destroy the first Graph panel, because there is How are you doing that? for

[Matplotlib-users] wxmpl question

2006-08-14 Thread Kenny Ortmann
I am not sure if this would be the right place to ask this question but I figure there is no harm in asking and if it is the wrong place then just disregard the questoin. I am working with 3 seperate panels in a wx.Frame. One panel is used as a status bar at the bottom displaying data. One of t

Re: [Matplotlib-users] Problems upgrading to mpl 0.87.4

2006-08-14 Thread Christopher Barker
John Hunter wrote: > Charlie, since you are pretty familiar with the blitting API, perhaps > you could take a look and see how much work it would be to do wx > blitting w/o extension code. I'd be happy to add some additional > helper methods in agg if need be, as we did for qt. Didn't MPL origina

Re: [Matplotlib-users] packing an app with cx_Freeze

2006-08-14 Thread Charlie Moad
Check out the py2exe page about matplotlib. http://starship.python.net/crew/theller/moin.cgi/MatPlotLib On 8/14/06, Christian Meesters <[EMAIL PROTECTED]> wrote: > Hi, > > Yesterday I tried packing an application of mine which makes use of wxPython, > scipy, and matplotlib with cx_Freeze. > > The

[Matplotlib-users] packing an app with cx_Freeze

2006-08-14 Thread Christian Meesters
Hi, Yesterday I tried packing an application of mine which makes use of wxPython, scipy, and matplotlib with cx_Freeze. The Traceback I get after running FreezePython --install-dir SPlot_dir SPlot.py and starting the application is: Traceback (most recent call last): File "/home/cm/bin/inits