Re: [matplotlib-devel] Help

2011-03-25 Thread Derek Homeier
On 16 Mar 2011, at 09:48, Georges Arsouze wrote: > I'am working with Python3.1 under Mac Os Snow Leopard > I download matplotlib with > http://www.cgl.ucsf.edu/Outreach/pc204/matplotlib.html > > It doesn't work > Can you help me ? > That package, as the site states (though maybe not clearly enoug

Re: [matplotlib-devel] Help with blitting bug with subplots and markers

2010-07-06 Thread Ryan May
On Tue, Jul 6, 2010 at 10:19 AM, Michael Droettboom wrote: > On 07/04/2010 09:32 PM, John Hunter wrote: >> On Sat, Jul 3, 2010 at 11:53 AM, Ryan May  wrote: >> >>> On Sat, Jul 3, 2010 at 1:11 AM, Ryan May  wrote: >>> Alright, before I go to bed, I found the following line in src/_backend

Re: [matplotlib-devel] Help with blitting bug with subplots and markers

2010-07-06 Thread Michael Droettboom
On 07/04/2010 09:32 PM, John Hunter wrote: > On Sat, Jul 3, 2010 at 11:53 AM, Ryan May wrote: > >> On Sat, Jul 3, 2010 at 1:11 AM, Ryan May wrote: >> >>> Alright, before I go to bed, I found the following line in >>> src/_backend_agg.cpp at line 709 (in draw_markers()) makes all the >>>

Re: [matplotlib-devel] Help with blitting bug with subplots and markers

2010-07-04 Thread John Hunter
On Sat, Jul 3, 2010 at 11:53 AM, Ryan May wrote: > On Sat, Jul 3, 2010 at 1:11 AM, Ryan May wrote: >> Alright, before I go to bed, I found the following line in >> src/_backend_agg.cpp at line 709 (in draw_markers()) makes all the >> difference: >> >> set_clipbox(gc.cliprect, rendererBase); >> >>

Re: [matplotlib-devel] Help with blitting bug with subplots and markers

2010-07-03 Thread Ryan May
On Sat, Jul 3, 2010 at 1:11 AM, Ryan May wrote: > Alright, before I go to bed, I found the following line in > src/_backend_agg.cpp at line 709 (in draw_markers()) makes all the > difference: > > set_clipbox(gc.cliprect, rendererBase); > > Commenting out this line fixes my problem. I'm not sure wh

Re: [matplotlib-devel] Help with blitting bug with subplots and markers

2010-07-02 Thread Ryan May
Alright, before I go to bed, I found the following line in src/_backend_agg.cpp at line 709 (in draw_markers()) makes all the difference: set_clipbox(gc.cliprect, rendererBase); Commenting out this line fixes my problem. I'm not sure why it's a problem, (maybe a missing restore to previous state

Re: [matplotlib-devel] help request: wx, tk, qt backend leave event

2008-12-03 Thread John Hunter
On Wed, Dec 3, 2008 at 6:43 AM, Gregor Thalhammer <[EMAIL PROTECTED]> wrote: >> Can you update, repatch wx to use it (and Darren qt)? > > I attached a patch that emits a enter_notify_event if the mouse enters the > figure. Now the example behaves correctly. Thanks Gregor -- just committed this. I

Re: [matplotlib-devel] help request: wx, tk, qt backend leave event

2008-12-03 Thread Darren Dale
On Wed, Dec 3, 2008 at 9:26 AM, Gregor Thalhammer < [EMAIL PROTECTED]> wrote: > > > 2008/12/2 Darren Dale <[EMAIL PROTECTED]> > >> >> >> On Tue, Dec 2, 2008 at 10:41 AM, John Hunter <[EMAIL PROTECTED]> wrote: >> >>> On Tue, Dec 2, 2008 at 8:34 AM, Gregor Thalhammer >>> <[EMAIL PROTECTED]> wrote: >

Re: [matplotlib-devel] help request: wx, tk, qt backend leave event

2008-12-03 Thread Gregor Thalhammer
2008/12/2 Darren Dale <[EMAIL PROTECTED]> > > > On Tue, Dec 2, 2008 at 10:41 AM, John Hunter <[EMAIL PROTECTED]> wrote: > >> On Tue, Dec 2, 2008 at 8:34 AM, Gregor Thalhammer >> <[EMAIL PROTECTED]> wrote: >> >> > If a mouse button is pressed while leaving the figure the behaviour is >> > somewhat

Re: [matplotlib-devel] help request: wx, tk, qt backend leave event

2008-12-03 Thread Gregor Thalhammer
> > Can you update, repatch wx to use it (and Darren qt)? > I attached a patch that emits a enter_notify_event if the mouse enters the figure. Now the example behaves correctly. Gregor Index: backend_wx.py === --- backend_wx.py (Revi

Re: [matplotlib-devel] help request: wx, tk, qt backend leave event

2008-12-02 Thread Darren Dale
On Tue, Dec 2, 2008 at 10:41 AM, John Hunter <[EMAIL PROTECTED]> wrote: > On Tue, Dec 2, 2008 at 8:34 AM, Gregor Thalhammer > <[EMAIL PROTECTED]> wrote: > > > If a mouse button is pressed while leaving the figure the behaviour is > > somewhat strange. First, a figure_leave_event is emitted. Then,

Re: [matplotlib-devel] help request: wx, tk, qt backend leave event

2008-12-02 Thread John Hunter
On Tue, Dec 2, 2008 at 8:34 AM, Gregor Thalhammer <[EMAIL PROTECTED]> wrote: > If a mouse button is pressed while leaving the figure the behaviour is > somewhat strange. First, a figure_leave_event is emitted. Then, further > moving the mouse outside the figure a new figure_enter_event is created.

Re: [matplotlib-devel] help request: wx, tk, qt backend leave event

2008-12-02 Thread Gregor Thalhammer
John Hunter schrieb: I recently added support for a figure/axes enter/leave event. The figure enter and axes enter/leave are easy to do with nothing new in the backends, just using the native mpl events. The figure leave event is harder, because when a user leaves a figure and activates another

Re: [matplotlib-devel] help request: wx, tk, qt backend leave event

2008-11-30 Thread Darren Dale
On Wed, Nov 26, 2008 at 2:05 PM, John Hunter <[EMAIL PROTECTED]> wrote: > I recently added support for a figure/axes enter/leave event. The > figure enter and axes enter/leave are easy to do with nothing new in > the backends, just using the native mpl events. The figure leave > event is harder,

Re: [matplotlib-devel] help request: wx, tk, qt backend leave event

2008-11-27 Thread Darren Dale
I can have a look at the qt backends, maybe this weekend. On Wed, Nov 26, 2008 at 2:05 PM, John Hunter <[EMAIL PROTECTED]> wrote: > I recently added support for a figure/axes enter/leave event. The > figure enter and axes enter/leave are easy to do with nothing new in > the backends, just using

Re: [matplotlib-devel] Help with scatter

2008-11-11 Thread Ryan May
Eric Firing wrote: > Ryan, > > I hope you don't mind--I took care of the "FIXME" that I had put in, and > committed the whole thing. Your test passes, and the backend_driver.py > seems happy, so it should be OK. You have stolen my glory! :) Actually, I was thinking at this point it was more you

Re: [matplotlib-devel] Help with scatter

2008-11-10 Thread Eric Firing
Ryan May wrote: > On Mon, Nov 10, 2008 at 5:54 PM, Eric Firing <[EMAIL PROTECTED] > > wrote: > > Ryan May wrote: > > Ok, here's a patch that fixes the problem for me, as well as a test > script that tests a bunch of the color options along with havin

Re: [matplotlib-devel] Help with scatter

2008-11-10 Thread Ryan May
On Mon, Nov 10, 2008 at 5:54 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > Ryan May wrote: > >> Ok, here's a patch that fixes the problem for me, as well as a test >> script that tests a bunch of the color options along with having more, >> the same, and less than the number of points passed in. >>

Re: [matplotlib-devel] Help with scatter

2008-11-10 Thread Eric Firing
Ryan May wrote: Ryan May wrote: Well, I can get the last one to work with SVN HEAD. The others don't work for me either, though I agree they probably should. It looks like any 1D sequence will trigger colormapping instead of strings being mapped to rgba arrays. I'll keep digging to see what c

Re: [matplotlib-devel] Help with scatter

2008-11-10 Thread Ryan May
Ryan May wrote: > Well, I can get the last one to work with SVN HEAD. The others don't > work for me either, though I agree they probably should. > > It looks like any 1D sequence will trigger colormapping instead of > strings being mapped to rgba arrays. I'll keep digging to see what > changed.

Re: [matplotlib-devel] Help with scatter

2008-11-10 Thread Ryan May
Ryan May wrote: > Well, I can get the last one to work with SVN HEAD. The others don't > work for me either, though I agree they probably should. > > It looks like any 1D sequence will trigger colormapping instead of > strings being mapped to rgba arrays. I'll keep digging to see what > changed.

Re: [matplotlib-devel] Help with scatter

2008-11-10 Thread Ryan May
Andrew Stock wrote: > My interpretation of this is that either of the three values attempted > in the code example should work. However, all of these fail. > > from pylab import * > > x = [1,2,3] > y = [2,4,6] > c = ['#ff', '#00ff00', '#ff'] > c = ['b','r', 'g'] > c = [(1,0,0), (0,1,0), (

Re: [matplotlib-devel] Help with scatter

2008-11-10 Thread Ryan May
Andrew Stock wrote: > My interpretation of this is that either of the three values attempted > in the code example should work. However, all of these fail. > > from pylab import * > > x = [1,2,3] > y = [2,4,6] > c = ['#ff', '#00ff00', '#ff'] > c = ['b','r', 'g'] > c = [(1,0,0), (0,1,0), (

Re: [matplotlib-devel] Help adding -L dir to build step...

2007-03-19 Thread Berthold Höllmann
Ted Drain <[EMAIL PROTECTED]> writes: > I'm trying to build matplotlib and basemap on a solaris box using the > latest SVN. My python, qt, tk, etc are all installed in a build > directory ($TOOLS). Under linux, the build goes fine and everything > works great. However, under solaris, both ma