Re: [Matplotlib-users] Any news on wxMPL ?

2008-12-09 Thread Ken McIvor
) managed to patch it get it > working but I am receiving reports it could be still buggy and it is > a completely unofficial patch. > > I tried to wrote to Ken McIvor (wxmpl author) about this but > received no answer. > So, I'd like to know: > - Is anyone able to con

Re: [Matplotlib-users] Any news on wxMPL ?

2008-12-10 Thread Ken McIvor
On Dec 10, 2008, at 6:35 AM, massimo sandal wrote: > Thanks a lot for your answer. I am very happy to know that you are > alive and (mostly) healthy and that you didn't forget us! :) Oh no, I certainly haven't forgotten about you all! >> I'm sorry I didn't reply to your email. It fell through

[Matplotlib-users] WxMpl 1.3.0 released

2009-02-21 Thread Ken McIvor
I've finally been able to update the WxMpl library so it's compatible with MPL 0.98: http://agni.phys.iit.edu/~kmcivor/wxmpl/downloads/wxmpl-1.3.0.tar.gz It's been tested on Debian Lenny (Python 2.5.2, MPL 0.98.1, wxPython 2.6.3.2) and Mac OS 10.5.5 (MacPython 2.5.4, MPL 0.98.1 and 0.

Re: [Matplotlib-users] class wx app question

2007-01-21 Thread Ken McIvor
On Jan 21, 2007, at 8:21 AM, Allan Noriel Estrella wrote: > > i found this code snippet in one example in matplotlib > > > i just want to ask what does app = App(0) mean, why do we need 0 > for an argument It explicitly disables the redirection of sys.stdout and sys.stderr. http://www.

Re: [Matplotlib-users] wxPython 2.8

2007-01-21 Thread Ken McIvor
On Jan 21, 2007, at 11:04 AM, Allan Noriel Estrella wrote: > > does matplotlib already support wxPython 2.8? I have not had the opportunity to test it with 2.8. However, I am given to understand that it works. The one caveat is that you cannot presently compile the WXAgg accelerator with 2.8

Re: [Matplotlib-users] wxPython 2.8

2007-01-23 Thread Ken McIvor
On Jan 23, 2007, at 1:08 PM, Christopher Barker wrote: > John Hunter wrote: >> >> Hey Chris, thanks for this info. Do we expect this modified code to >> also work for older versions of wx, or is this 2.8 specific. > > I think it will work with older versions, but I haven't tested it. How > far bac

Re: [Matplotlib-users] wxPython 2.8

2007-01-23 Thread Ken McIvor
On Jan 23, 2007, at 2:40 PM, Christopher Barker wrote: > Ken McIvor wrote: >> On Jan 23, 2007, at 1:08 PM, Christopher Barker wrote: >>> >>> I think it will work with older versions, but I haven't tested >>> it. How >>> far back do we need to g

Re: [Matplotlib-users] pylab crashes python

2007-01-25 Thread Ken McIvor
Jan, What versions of wxPython and matplotlib are you using? Ken - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business to

Re: [Matplotlib-users] ANN: matplotlib-0.90.0

2007-02-21 Thread Ken McIvor
On Feb 21, 2007, at 1:58 PM, Christopher Barker wrote: > Werner F. Bruhin wrote: >> >> Is there a list of what the problems are? > > One is that it won't build, due to a code error in the extension -- I > don't know why that same error didn't cause a problem with earlier > versions of wxPython. Th

Re: [Matplotlib-users] what version of wxpython to use???

2007-02-22 Thread Ken McIvor
On Feb 22, 2007, at 3:30 AM, Werner F. Bruhin wrote: > Jeff Peery wrote: >> >> hello, I am having some difficulty. I just upgraded to matplotlib >> 0.9, >> wxpython 2.7.2, and python 2.5. I could be mistaken, but my understanding is that the odd versions of wxWidgets and wxPython are developme

Re: [Matplotlib-users] what version of wxpython to use???

2007-02-22 Thread Ken McIvor
On Feb 22, 2007, at 10:39 AM, Jeff Peery wrote: > > So it works ok when I execute my wxApp from boa, but it acts > strange then locks up when I run it from the IDLE??? Yep. It's a result of the way programs like Boa and IDLE are written. In general, you can't mix and match GUI libraries (e.g

Re: [Matplotlib-users] Nonlinear colormap ?

2007-03-08 Thread Ken McIvor
Uwe, I don't know the answer to your question, but yesterday Rob Hetland sent out and email entitled "Creating a non-linear colormap." that includes example code. That might help you get started. Ken - Take Surveys. Ear

Re: [Matplotlib-users] [mailinglist] Re: Nonlinear colormap ?

2007-03-09 Thread Ken McIvor
On Mar 9, 2007, at 5:11 AM, Uwe Schmitt wrote: > > Thanks, but I can not access this article from the mailing lists > archive. > On sourceforge the newest posting is from 23th feb. I'm not sure what the problem with SourceForge is. I'll forward you that email off-list. Ken

Re: [Matplotlib-users] source install question: WXAgg's accelerator requires the wxPython headers.

2007-03-16 Thread Ken McIvor
On Mar 16, 2007, at 10:57 AM, Andrew Straw wrote: > > Dear Ryan, I think you want libwxgtk2.6-dev Unfortunately, the wxPython Debian package and its Ubuntu cousin do not include the wxPython headers. This is an issue that I looked into a while ago, but was unable to get resolved. That being

Re: [Matplotlib-users] source install question: WXAgg's accelerator requires the wxPython headers.

2007-03-16 Thread Ken McIvor
On Mar 16, 2007, at 1:01 PM, Ryan Krauss wrote: > > Unless someone has the wxpython 2.6 source tarball lying > around, I guess I will ignore the message and wait until I am ready to > upgrade to 2.8. If you're got APT's "sources.list" setup correctly, you should be able to just "apt-get source l

Re: [Matplotlib-users] source install question: WXAgg's accelerator requires the wxPython headers.

2007-03-16 Thread Ken McIvor
Ryan, I found the 2.6 sources: http://wxpython.sourceforge.net/download-2.6.3.3.php Ken - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share y

Re: [Matplotlib-users] pylab vs. embedding in wx

2007-03-19 Thread Ken McIvor
Ryan, In my (limited) experience, it's dicey to mix pylab's plotting functionality and the OO API. I guess I'm a little unclear exactly what your use case is for this. It sounds like you're goal is to create a library of functions that operate on Figure instances, perhaps so you can use

Re: [Matplotlib-users] creating live plot (update while data is arriving)

2007-03-28 Thread Ken McIvor
On Mar 27, 2007, at 12:35 PM, Antonino Ingargiola wrote: > > I'm searching to display in realtime some data read serial port. The > data is a 2D matrix and is read element wise from the serial, one > pixel each one (or more) seconds. You shouldn't have any problems making this happen, although it

Re: [Matplotlib-users] [wxmpl] How to get coordinates from selected rectangle

2007-03-28 Thread Ken McIvor
On Mar 28, 2007, at 3:41 PM, [EMAIL PROTECTED] wrote: > > Hi! I have a wxmpl.PlotPanel object with a cross-hair style cursor > (without the full screen crosshairs). When I select a rectangle w/ > this > cursor it zooms in to that rectangle - great! Now, how do I get the > rectangle coordinates

Re: [Matplotlib-users] creating live plot (update while data is arriving)

2007-03-28 Thread Ken McIvor
On Mar 28, 2007, at 6:03 PM, Antonino Ingargiola wrote: > On 3/28/07, Ken McIvor <[EMAIL PROTECTED]> wrote: >> You should probably do the acquisition asynchronously by running it >> in a separate thread. > > That's exactly what I'd like to do. The problem i

Re: [Matplotlib-users] Scrollbars and subplots..

2007-03-29 Thread Ken McIvor
On Mar 29, 2007, at 10:55 AM, Iyer wrote: > > That's unfortunate that a subplot cannot be bounded within a > scrollbar.. I guess if it could be possible to turn a subplot into > a GUI widget and have GUI widgets over another GUI widget (the > frame), that'd be good... I think that wouldn't b

Re: [Matplotlib-users] Scrollbars and subplots..

2007-03-29 Thread Ken McIvor
On Mar 29, 2007, at 2:49 PM, Iyer wrote: > > Thanks for your response, what I'm trying to find - is a way to > have the whole subplot stop displaying non-data related parts of > it, like when we use the back and forward arrows on the matplotlib > toolbar, the subplot goes off the boundaries a

Re: [Matplotlib-users] Removing the black border around a plot?

2007-04-03 Thread Ken McIvor
On Apr 1, 2007, at 11:27 PM, Chelonian wrote: > > I'm new to matplotlib, and I can't even get this to work (let alone > the > other fix of changing the colors). Could you elaborate about how to > implement this? I've tried putting these lines in the __init__ of the > PlotPanel() class, but I ca

Re: [Matplotlib-users] passing mouse clicks back to a polling application

2007-04-05 Thread Ken McIvor
On Apr 5, 2007, at 2:14 PM, belinda thom wrote: > > I do think its valuable to be able to write a blocking mouse > function. After your pointer to Timer (which led me to the threading > Python library) and idle handler (which I didn't find useful doc on, > so didn't persue), I came up with the code

Re: [Matplotlib-users] Stumped trying to find basic info

2007-04-05 Thread Ken McIvor
I forgot to CC the list on my reply. Perhaps the colors and styles deserve to have a table in the tutorial? Ken On Apr 5, 2007, at 2:57 PM, Ken McIvor wrote: > On Apr 5, 2007, at 2:42 PM, Grant Edwards wrote: >> >> I've just started using matplotlib, and I'm stumped

Re: [Matplotlib-users] passing mouse clicks back to a polling application

2007-04-06 Thread Ken McIvor
On Apr 5, 2007, at 8:41 PM, belinda thom wrote: > > So, how do the above observations relate to John Hunter's > recommendation that I use a timer or idler? It was the reply from > him that led me to think I might be able to come up w/something > that worked w/o too much dorking. My understan

Re: [Matplotlib-users] Program hangs when I call pylab.show()

2007-04-09 Thread Ken McIvor
On Apr 9, 2007, at 1:16 PM, Grant Edwards wrote: > > I've switched to using wxmpl to embed figure in a wxWidgets > panel. That almost works -- except I loose the ability for the > user to rotate/zoom using the mouse. I'm afraid that the current version of WxMpl doesn't play nicely with matplotli

Re: [Matplotlib-users] Plotting Question

2007-04-23 Thread Ken McIvor
On Apr 23, 2007, at 5:16 PM, atlas wrote: > > Basically, I would like to be able to create objects of arbitrary type > (possibly just a string, but I'd like to have some flexibility if > possible), > create relationships between the objects, and have a graph > automagically > space them out on

Re: [Matplotlib-users] (no subject)

2007-05-07 Thread Ken McIvor
On May 7, 2007, at 11:21 AM, Christopher Barker wrote: > Praveen Gopalakrishnan wrote: >> Hi, I'm a newbie trying to install matplotlib (0.87) on Linux >> (2.6.11,FC4). I have Python 2.4, wxPython 2.8.3 and all required >> libraries for matplotlib (freetype, libpng, zlib). I'm tring to use >> wxAgg

Re: [Matplotlib-users] Plot vs Line Collections

2007-06-02 Thread Ken McIvor
On Jun 2, 2007, at 5:51 AM, Andrea Gavana wrote: > > Is there any plan to adapt matplotlib to use the available > wxPython installation instead of a predefined one? Yes. The next release of matplotlib will do a better job of selecting the approriate drawing implementation. It will also inclu

Re: [Matplotlib-users] Simple Matplotlib usage and Gnuplot

2007-08-27 Thread Ken McIvor
On Aug 27, 2007, at 11:59 AM, Matt Fago wrote: > > Are there any plans for such a feature, or does it already exist? > Probably would > not be too difficult to implement if no one else is planning to do so. There is a script called 'plotit', included with the WxMpl library, that provides very

Re: [Matplotlib-users] pick_event with wxmpl

2007-10-15 Thread Ken McIvor
On Oct 12, 2007, at 4:28 PM, Giorgio F. Gilestro wrote: > > Do you know if there is a reason why I cannot succeed in generating a > pick_event using wxmpl? Yes, WxMpl disables all matplotlib events to ensure that figure zooming works correctly. I haven't had time to ensure that WxMpl will work

Re: [Matplotlib-users] [Mac OS 10.4.10, Python 2.5] LineCollection error

2007-10-15 Thread Ken McIvor
David, I'm not aware of any compatibility problems when using WxMpl with MPL 0.91, but then again I can't remember if I ever tested it thoroughly. Could you please send me a short script that reproduces the problem, along with the complete error message it generates? Thanks. Ken --

Re: [Matplotlib-users] cannot find wxmsw26uh_vc.dll

2007-11-12 Thread Ken McIvor
Jeff, I think you need to delete the WXAgg accelerator module in your "site- packages/matplotlib/backends" directory. It will have a name like "_wxagg.so", "_wxagg.pyd", or "_wxagg.dll". Ken - This SF.net email is sponso

Re: [Matplotlib-users] How to show matplotlib.image ?

2007-12-11 Thread Ken McIvor
On Dec 5, 2007, at 11:58 AM, Christopher Barker wrote: > > or use wxmpl: > > http://agni.phys.iit.edu/~kmcivor/wxmpl/ > > By the way, couldn't that be distributed with Matplotlib? Maybe in > toolkits, if not the main distro. I'd be all for having wxmpl distributed as part of the matplotlib toolk

Re: [Matplotlib-users] build matplotlib including backend wxPython

2008-01-22 Thread Ken McIvor
On Jan 22, 2008, at 11:00 AM, Matthias Michler wrote: > > I was not up to date with my installation and I tried to use the > latest svn > version (trunk) on my Debian etch. I have a problem to build > matplotlib > including support for wxPython as backend. The output is attached > below. > >

Re: [Matplotlib-users] wxmpl question

2006-08-26 Thread Ken McIvor
On Aug 14, 2006, at 3:30 PM, Kenny Ortmann wrote: > > 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. For WxMpl questions, this list is currently the closest thing

Re: [Matplotlib-users] Is there a wxmpl listserve?

2006-08-26 Thread Ken McIvor
David, This are not any WxMpl mailing lists at this time. If you have a problem or need to ask some questions, please send me an email. Ken - Using Tomcat but need to do more? Need to support web services, security? Get s

Re: [Matplotlib-users] tooltips in matplotlib?

2006-09-11 Thread Ken McIvor
On Sep 11, 2006, at 5:28 PM, Martin Spacek wrote: > > I'd like to be able to pop up a tooltip on, say, a matplotlib > 'motion_notify_event', or maybe just a 'button_press_event'. Does MPL > have the ability to control tooltips, or do I have to drop down to the > specific backend to do that (wxagg i

Re: [Matplotlib-users] waiting on a point

2006-09-19 Thread Ken McIvor
On 09/19/06 15:22, John Hunter wrote: >>"Kenny" == Kenny Ortmann <[EMAIL PROTECTED]> writes: > > Kenny> I'm writing a program with a graph. You have to select > Kenny> segments of the graph, which requires 2 points. > > Kenny> working with widgets is new to me and im used to working >