Re: [matplotlib-devel] SVG clickable images

2008-10-29 Thread Jae-Joon Lee
I think it is a good idea to add such a feature in mpl, and I guess it would better to have some general way to provide backend specific options. Actually, I have been using a modified version of mpl which enables to set the individual ID of the patches (this is only meaningful in case of the svg

[matplotlib-devel] SVG clickable images

2008-10-29 Thread Andrew Stock
Hi, I have a requirement to make clickable bar charts using the SVG output (rather than html maps). An initial look has suggested that the following changes would be required: backend_bases.py: Add a url property to GraphicsContextBase (defaulting to None, so it's all backwards compatible) axes.

Re: [matplotlib-devel] Event handling example not working

2008-10-29 Thread John Hunter
On Wed, Oct 29, 2008 at 4:00 PM, Ryan May <[EMAIL PROTECTED]> wrote: > Here's probably a better question to ask than just to fix the example. > Was it intended that the Rectangle.xy attribute disappear? I couldn't > find it documented in API_CHANGES. It appears that there was just a > change at s

Re: [matplotlib-devel] Event handling example not working

2008-10-29 Thread Ryan May
> Neil Crighton wrote: >> I noticed on the event handling doc page: >> >> [email protected] >> >> that the draggable rectangle example doesn't work in version 0.98.3. >> The rectangle class no longer seems to have the xy property. If you >> replace the current on_press() metho

Re: [matplotlib-devel] Native backend for Mac OS X

2008-10-29 Thread Christopher Barker
Michiel de Hoon wrote: > --- On Tue, 10/28/08, Christopher Barker <[EMAIL PROTECTED]> > wrote: >> I'm still curious where all this speed comes from. > At this point, most of it is coming from having complete control over > the event loop, which allows to avoid superfluous calls to draw(). well, w

[matplotlib-devel] weights in hist()

2008-10-29 Thread Olle EngdegÄrd
Hi, I attach a trivial patch to pass a weight argument through hist() to histogram(). Cheers, Olle--- axes.py (revision 6329) +++ axes.py (working copy) @@ -6221,13 +6221,13 @@ def hist(self, x, bins=10, range=None, normed=False, cumulative=False, bottom=None, histtype='b