[matplotlib-devel] Help with windowing corrections for spectrums

2013-07-13 Thread Todd
Hi, I am trying to make some improvements to the spectrum-related functions in mlab (and the corresponding plotting functions). What I am trying to do is make the functions more general, so they work with complex spectrums, magnitude spectrums, and phase spectrums in addition to PSDs. The problem

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

[matplotlib-devel] Help

2011-03-25 Thread Georges Arsouze
Hello 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 ? -- Enable your software for Intel(R) Active Ma

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

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

2010-07-02 Thread Ryan May
Hi, I've been debugging this for hours now and could really use the help of someone smarter than me. In working on blitting with animations, I've run into a problem when trying to use blitting + multiple subplots + lines with markers. It's an esoteric combination to be sure, but I have a script (a

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

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

2008-11-26 Thread John Hunter
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 window, mpl gets no ev

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), (

[matplotlib-devel] Help with scatter

2008-11-10 Thread Andrew Stock
Hi, I'm trying to specify the colours for markers in a call to scatter. I've read this information in the documentation: c: a color. c can be a single color format string, or a sequence of color specifications of length N, or a sequence of N numbers to be mapped to colors using the cmap and n

[matplotlib-devel] Help with Install Error

2008-09-13 Thread Adrian Price-Whelan
Hey all - I'm having some trouble building and installing matplotlib on my Macbook Pro running OS X 10.5.4. I don't understand exactly what the errors are trying to tell me...any help is much appreciated! i686-apple-darwin9-gcc-4.0.1: -framework: linker input file unused because linking not

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

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

2007-03-19 Thread Ted Drain
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 matplotlib and basemap have link errors that say