Re: [Matplotlib-users] x and ylabel problem when embedding in wx

2006-11-09 Thread John Hunter
> "John" == John Hunter <[EMAIL PROTECTED]> writes: John> It's not about wx or wxpython, it's a matplotlib issue. Let me add some color to that statement -- when I took a look at your screenshot, I realized you are using the WX backend and not the WXAgg backend. If you don't understand t

Re: [Matplotlib-users] x and ylabel problem when embedding in wx

2006-11-09 Thread John Hunter
> "Emmanuel" == Emmanuel Favre-Nicolin <[EMAIL PROTECTED]> writes: Emmanuel> Hi, (I'm sending again because email was probably Emmanuel> filtered?) Emmanuel> I have problem with xlabel and ylabel when embedding in Emmanuel> wx. See snapshot : Emmanuel> http://emmanuelfavr

Re: [Matplotlib-users] Any fix for wxAgg on Mac?

2006-11-09 Thread Christopher Barker
Russell E Owen wrote: > Thanks! That should be enough info to go on. Let us know how it works out -- or use the packages recently posted on pythonmac.org/packages > I'm surprised, though. I know /usr/local/bin is on my path before > /usr/bin and I thought /Library/Frameworks/Python.../bin wa

[Matplotlib-users] x and ylabel problem when embedding in wx

2006-11-09 Thread Emmanuel Favre-Nicolin
Hi, (I'm sending again because email was probably filtered?) I have problem with xlabel and ylabel when embedding in wx. See snapshot : http://emmanuelfavrenicolin.free.fr/Public/Divers/Snapshots1/wx_snap.png I put a test code which is based on dynamic_demo_wx.py, adding only the 3 lines :

Re: [Matplotlib-users] Any fix for wxAgg on Mac?

2006-11-09 Thread Christopher Barker
Russell E Owen wrote: > I should probably be using wxPython 2.6.x. I originally thought wxPython > 2.7 was the current release but as you pointed out, that was a > misconception. Unfortunately, it's the only binary package available for > Python 2.5 at pythonmac.org. There is a binary of wxPyth

Re: [Matplotlib-users] Any fix for wxAgg on Mac?

2006-11-09 Thread Christopher Barker
On second thought --- Russell E Owen wrote: > Now when I try to build matplotlib it fails. Ouch. > It starts out with the same warning as last time: > setup.py:267: DeprecationWarning: The wxPython compatibility package is > no longer automatically generated or activly maintained. Please switc

[Matplotlib-users] x and ylabel problem when embedding in wx

2006-11-09 Thread Emmanuel Favre-Nicolin
I have problem with xlabel and ylabel when embedding in wx. See snapshot : http://emmanuelfavrenicolin.free.fr/Public/Divers/Snapshots1/wx_snap.png I put a test code which is based on dynamic_demo_wx.py, adding only the 3 lines : a.set_title('Title') a.set_xlabel('Xaxis [u.a.]')

Re: [Matplotlib-users] Any fix for wxAgg on Mac?

2006-11-09 Thread Christopher Barker
Russell E. Owen wrote: > I reinstalled wxPython 2.7 from the package at pythonmac.org (to be > paranoid). I'm using the Python 2.5 version. check > I got wx-config on my path and confirmed it's the right one (see below > for details). check. > Now when I try to build matplotlib it fails. Ouch

Re: [Matplotlib-users] Any fix for wxAgg on Mac?

2006-11-09 Thread Christopher Barker
Russell E Owen wrote: > It turns out my wx-config was in: > /usr/local/lib/wxPython-unicode-2.7.1.3/lib/wx/config/mac-unicode-debug-2.7 > not a location I'd ever have expected or would want to add to my $PATH > (and not easy to find -- I had to use a special file finding utility to > find it). >

Re: [Matplotlib-users] New to matplotlib; documentation errors

2006-11-09 Thread Andrea Gavana
Hi, >* You need PyNum (documented) I suppose you meant NumPy >* You need wxPython (not documented that I've found) No, I don't remember that particular need, unless things have changed in the meanwhile. If so, please correct my ignorance. > Python 2.4.3 (#1, Mar 30 2006, 11:02:

[Matplotlib-users] New to matplotlib; documentation errors

2006-11-09 Thread Simson Garfinkel
I'm new to matplotlib; I was using PyX but matplotlib seems further developed for what I want to do. One of the problems that I'm having is simply getting started. I've discovered that there are a whole bunch of dependencies that weren't obvious in the manual: * You need PyNum (docu

Re: [Matplotlib-users] Removing a data series

2006-11-09 Thread Fernando Perez
On 11/9/06, Angus McMorland <[EMAIL PROTECTED]> wrote: > Since this is the third time I've seen this question pop up in a few > months, I've put an entry in the wiki for it here > (http://www.scipy.org/Cookbook/Matplotlib/DeletingAnExistingDataSeries). > Fernando, I hope you don't mind me using y

Re: [Matplotlib-users] Removing a line from a plot

2006-11-09 Thread Fernando Perez
On 11/9/06, John Hunter <[EMAIL PROTECTED]> wrote: > > "Andrea" == Andrea Gavana <[EMAIL PROTECTED]> writes: > > Andrea> Thank you guys, and thanks for the Wiki entry ;-) Andrea. > > Since ax.lines is just a list, you can also use the "remove" method > > line1, = ax.plot(something) > li

Re: [Matplotlib-users] How to build matplotlib with wx support

2006-11-09 Thread Christopher Barker
Russell E Owen wrote: > There are two issues: > 1) The wxPython installer is finding the wrong wx-config. It finds > the one for the outdated built-in wx instead of the one used by > wxPython (which is deeply buried and very unlikely to be on your > $PATH). > 2) There are bugs in the particular

Re: [Matplotlib-users] Removing a line from a plot

2006-11-09 Thread John Hunter
> "Andrea" == Andrea Gavana <[EMAIL PROTECTED]> writes: Andrea> Thank you guys, and thanks for the Wiki entry ;-) Andrea. Since ax.lines is just a list, you can also use the "remove" method line1, = ax.plot(something) line2, = ax.plot(somethingelse) line3, line4 = ax.plot(x3, y3, x

Re: [Matplotlib-users] Removing a line from a plot

2006-11-09 Thread Andrea Gavana
Thank you guys, and thanks for the Wiki entry ;-) Andrea. On 11/9/06, Pierre GM <[EMAIL PROTECTED]> wrote: > > > I have a GUI written in wxPython, the main portion of it is a > > matplotlib canvas. There is a tree control on the left with > > checkboxes: if the user checks a checkbox, I add a lin

Re: [Matplotlib-users] Removing a data series

2006-11-09 Thread Angus McMorland
On 10/11/06, Dan Karipides <[EMAIL PROTECTED]> wrote: > Fernando, > > Thanks, this is exactly what I need. > > BTW, I think I missed it in the search because the archive here: > > http://sourceforge.net/mailarchive/forum.php?forum_id=33405 > > doesn't show anything more recent that 10/02/2006. I'm

Re: [Matplotlib-users] Any fix for wxAgg on Mac?

2006-11-09 Thread Christopher Barker
Russell and Charlie, Are your two binaries any different? Any reason to choose one over the other? In particular, which of these are supported: numpy 1.* Numeric numarray GTK TK wx (which version?) -Chris -- Christopher Barker, Ph.D. Oceanographer

Re: [Matplotlib-users] Any fix for wxAgg on Mac?

2006-11-09 Thread Charlie Moad
On 11/9/06, Russell E Owen <[EMAIL PROTECTED]> wrote: > At 10:18 AM -0800 2006-11-09, Christopher Barker wrote: > >Russell and Charlie, > > > >Are your two binaries any different? Any reason to choose one over > >the other? In particular, which of these are supported: > > > >numpy 1.* > >Numeric >

Re: [Matplotlib-users] Alpha and colorbar using contourf

2006-11-09 Thread Tom Denniston
Thanks Eric. On 11/9/06, Eric Firing <[EMAIL PROTECTED]> wrote: Tom,This is a bug.  It looks like I completely forgot about handling alphawhen I rewrote the colorbar code.  I will try to get it fixed in the next few days.  Thanks for the report.EricTom Denniston wrote:> When I use contourf with an

Re: [Matplotlib-users] Alpha and colorbar using contourf

2006-11-09 Thread Eric Firing
Tom, This is a bug. It looks like I completely forgot about handling alpha when I rewrote the colorbar code. I will try to get it fixed in the next few days. Thanks for the report. Eric Tom Denniston wrote: > When I use contourf with an alpha argument and the "hot" color scheme. > The alp

Re: [Matplotlib-users] Any fix for wxAgg on Mac?

2006-11-09 Thread Russell E Owen
At 10:18 AM -0800 2006-11-09, Christopher Barker wrote: >Russell and Charlie, > >Are your two binaries any different? Any reason to choose one over >the other? In particular, which of these are supported: > >numpy 1.* >Numeric >numarray > >GTK >TK >wx (which version?) My binary supports: - numpy

Re: [Matplotlib-users] Removing a data series

2006-11-09 Thread Dan Karipides
Fernando, Thanks, this is exactly what I need. BTW, I think I missed it in the search because the archive here: http://sourceforge.net/mailarchive/forum.php?forum_id=33405 doesn't show anything more recent that 10/02/2006. I'm not sure why this is. Thanks again, -Dan - [EMAIL PROTECTED]

[Matplotlib-users] legend and errorbar

2006-11-09 Thread Jean-Luc Menut
Hello all, After some hour of fighting with, I've found that legend had some trouble when used with errobar because errorbar return a tuple. I know that is not a bug but I think it might be a good idea to write a warning about in the documentation (I mean at http://matplotlib.sourceforge.net/m

Re: [Matplotlib-users] Removing a data series

2006-11-09 Thread Pierre GM
> My basic question: Is it possible to remove a data series from a matplotlib > plot? A quite similar question was asked yesterday: The lines are stored in "ax.lines", by chronological order. If you want to delete the second one, just use del(ax.lines[1]), and redraw if needed.

[Matplotlib-users] Alpha and colorbar using contourf

2006-11-09 Thread Tom Denniston
When I use contourf with an alpha argument and the "hot" color scheme.  The alpha causes the colors to come out lighter but the colorbar does not adjust accordingly.  Is this a bug or do I simply need to adjust the colorbar in some manner?       Below is an adaptation of pcolor.py from the screens

Re: [Matplotlib-users] Removing a data series

2006-11-09 Thread Fernando Perez
Hi Dan, On 11/9/06, Dan Karipides <[EMAIL PROTECTED]> wrote: > I did my best to search the examples, mailing list, etc. but was surprised > that I didn't even find this question asked, let alone answered. Coincidentally it was asked just yesterday by Andrea Gavana, but you may have missed it in

[Matplotlib-users] Removing a data series

2006-11-09 Thread Dan Karipides
I did my best to search the examples, mailing list, etc. but was surprised that I didn’t even find this question asked, let alone answered.   My basic question: Is it possible to remove a data series from a matplotlib plot?   Longer question:   I'm using matplotlib to generate graph i