[matplotlib-devel] Adding a water mark to a plot

2007-12-11 Thread Nils Wagner
Hi all, Is it possible to add a water mark to a plot ? Nils - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. htt

Re: [matplotlib-devel] scroll wheel on wx

2007-12-11 Thread John Hunter
On Dec 11, 2007 6:51 PM, Paul Kienzle <[EMAIL PROTECTED]> wrote: > I removed the mpl_connect from the scroll event to pick. I don't know > why it was there. > > I tested the patch on OS X WxAgg examples/image_slice_viewer. > > Let me know if it is okay to post to svn, or if we are still in featur

[matplotlib-devel] scroll wheel on wx

2007-12-11 Thread Paul Kienzle
Hi, I have a patch which implements the scroll wheel on wx using the wx mouse wheel event. Rather than a simple up/down mouse event wx uses: delta: intervals per click rotation: number of clicks rate: number of lines per click I convert this to: step = rotation*delta/rate I've

Re: [matplotlib-devel] Insight on dealing with configuration

2007-12-11 Thread Fernando Perez
On Dec 11, 2007 5:42 PM, Gael Varoquaux <[EMAIL PROTECTED]> wrote: > On Tue, Dec 11, 2007 at 05:37:41PM -0700, Fernando Perez wrote: > > The tconfig objects already have a very dict-like representation for > > dumping into a text file, the .ini format. Or do you mean something > > that's even close

Re: [matplotlib-devel] Insight on dealing with configuration

2007-12-11 Thread Gael Varoquaux
On Tue, Dec 11, 2007 at 05:37:41PM -0700, Fernando Perez wrote: > The tconfig objects already have a very dict-like representation for > dumping into a text file, the .ini format. Or do you mean something > that's even closer to a dict, curly braces and all? No, I don't care about the curly brace.

Re: [matplotlib-devel] Insight on dealing with configuration

2007-12-11 Thread Fernando Perez
On Dec 11, 2007 5:32 PM, Gael Varoquaux <[EMAIL PROTECTED]> wrote: > On Tue, Dec 11, 2007 at 07:14:11PM -0500, Darren Dale wrote: > > RcParamsWrapper was created so we could get matplotlib working with the new > > config object without a massive rewrite of the entire library. The intention > > is t

Re: [matplotlib-devel] Insight on dealing with configuration

2007-12-11 Thread Gael Varoquaux
On Tue, Dec 11, 2007 at 07:14:11PM -0500, Darren Dale wrote: > RcParamsWrapper was created so we could get matplotlib working with the new > config object without a massive rewrite of the entire library. The intention > is to use the object-oriented interface internally, and to encourage users to

Re: [matplotlib-devel] Problem with Agg Ellipses

2007-12-11 Thread Michael Droettboom
Sorry. Try now. (I use psvn.el for doing svn checkins, and I mostly think it's great, but it's awfully quiet when something fails.) Cheers, Mike - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplac

Re: [matplotlib-devel] Insight on dealing with configuration

2007-12-11 Thread Darren Dale
On Tuesday 11 December 2007 7:03:57 pm Gael Varoquaux wrote: > On Mon, Dec 10, 2007 at 08:23:57AM -0500, Darren Dale wrote: > > Hi Gael, > > > > On Monday 10 December 2007 3:58:48 am Gael Varoquaux wrote: > > > I am about to start a configuration file for mayavi's mlab, and I am > > > strongly cons

Re: [matplotlib-devel] Insight on dealing with configuration

2007-12-11 Thread Gael Varoquaux
On Mon, Dec 10, 2007 at 08:23:57AM -0500, Darren Dale wrote: > Hi Gael, > On Monday 10 December 2007 3:58:48 am Gael Varoquaux wrote: > > I am about to start a configuration file for mayavi's mlab, and I am > > strongly considering mimicking matplotlib's way of doing things. > > I am almost sold

Re: [matplotlib-devel] Problem with Agg Ellipses

2007-12-11 Thread John Hunter
On Dec 11, 2007 3:24 PM, Ted Drain <[EMAIL PROTECTED]> wrote: > Thanks! That looks like a great solution. We'll take a look at it this > week and try to beat on it w/ some more test cases. Very nice work Michael -- I tried updating from your branch but it looks like maybe you haven't committed

Re: [matplotlib-devel] Problem with Agg Ellipses

2007-12-11 Thread Ted Drain
Michael, Thanks! That looks like a great solution. We'll take a look at it this week and try to beat on it w/ some more test cases. Ted At 12:46 PM 12/11/2007, Michael Droettboom wrote: Sorry -- correct attachment this time. Michael Droettboom wrote: I have a working draft of something tha

Re: [matplotlib-devel] Problem with Agg Ellipses

2007-12-11 Thread Michael Droettboom
I have a working draft of something that may work for this problem on the transforms branch. I am happy to backport this to the trunk, but that will require some effort, as the implementation relies on many of the new geometric utilities on the branch that would also have to be brought over.

Re: [matplotlib-devel] wx draw_idle

2007-12-11 Thread Paul Kienzle
On Tue, Dec 11, 2007 at 10:22:12AM -0800, Christopher Barker wrote: > Paul Kienzle wrote: > > or if there are pending wx events. The scheme isn't perfect since wx > > doesn't see all the native events, but it seems to work well enough. > > I'm confused here -- what events are missed, and why? Wha

Re: [matplotlib-devel] wx draw_idle

2007-12-11 Thread Christopher Barker
Paul Kienzle wrote: > 1) implement draw_idle. Rather than using the wx IdleEvent which seemed > to be triggered too often good idea -- the wx Idle event is triggered A LOT. I've never found a use for it. > I used a timer which is delayed and possibly > reset if a new draw request comes within

Re: [matplotlib-devel] canvas.print_svg()

2007-12-11 Thread Michael Droettboom
Thanks. This has already been fixed in SVN, and should make it into the 0.91.2 release shortly. Cheers, Mike Brandon Reno wrote: > I get this error when using canvas.print_svg(): > > In [27]: canvas.print_svg(buffer) > ---

[matplotlib-devel] wx draw_idle

2007-12-11 Thread Paul Kienzle
Hi, The attached patch has a couple of changes to the wx backend that I want people to test before I commit. 1) implement draw_idle. Rather than using the wx IdleEvent which seemed to be triggered too often I used a timer which is delayed and possibly reset if a new draw request comes within a c

[matplotlib-devel] canvas.print_svg()

2007-12-11 Thread Brandon Reno
I get this error when using canvas.print_svg(): In [27]: canvas.print_svg(buffer) --- Traceback (most recent call last) Z:\ in () C:\Python25\Lib\site-packages\matplotlib\backend_bases.py in print_svg(self, *ar

Re: [matplotlib-devel] [Matplotlib-users] eggs or pythonmac packages on OS X?

2007-12-11 Thread Russell E Owen
At 10:03 AM -0800 2007-12-05, Christopher Barker wrote: >Russell E Owen wrote: >>At 10:08 AM -0500 2007-12-05, Stephen Uhlhorn wrote: >>>Just for my edification, why can't the egg version be linked >>>against/include a different Tcl/Tk? >> >>If you mean why can't it be built that way in the first p