Re: [matplotlib-devel] SVG clickable images

2008-10-30 Thread Michael Droettboom
I realised in my earlier message, I didn't really address your initial request for feedback on your approach. I think the goal here should be to make the url support as pervasive as possible wrt both plot types and backends. Many of the high-level plotting functions (such as bar()) take a stan

Re: [matplotlib-devel] [Fwd: Re: Patch for scatter plot legend enhancement]

2008-10-30 Thread Erik Tollerud
No more thoughts on this? Or was some version of the patch committed? On Mon, Oct 20, 2008 at 12:16 PM, Erik Tollerud <[EMAIL PROTECTED]> wrote: > Actually, looking more closely, there is one thing that's still > bothering me: as it is now, it's impossible to have, say, 2 points > for plotted va

Re: [matplotlib-devel] Bug in Basemap

2008-10-30 Thread Jeff Whitaker
Pierre GM wrote: > All (with a special hello to Jeff W.), > I'm running into a problem with the latest basemap (r6355), illustrated in > the > following. Looks like the resolution 'i' causes a TopologyException > > GEOS_ERROR: TopologyException: found non-noded intersection > between -42.7171 -2

[matplotlib-devel] Bug in Basemap

2008-10-30 Thread Pierre GM
All (with a special hello to Jeff W.), I'm running into a problem with the latest basemap (r6355), illustrated in the following. Looks like the resolution 'i' causes a TopologyException GEOS_ERROR: TopologyException: found non-noded intersection between -42.7171 -2.56422, -42.7313 -2.57589 and

Re: [matplotlib-devel] annotation with fancy arrow

2008-10-30 Thread John Hunter
On Thu, Oct 30, 2008 at 9:28 AM, Darren Dale <[EMAIL PROTECTED]> wrote: > Line 2900 in patches.py is not compatible with python-2.6. "as" is protected > and cannot be used as a variable name. good catch - -fixed in r6355 JDH ---

Re: [matplotlib-devel] annotation with fancy arrow

2008-10-30 Thread Darren Dale
Line 2900 in patches.py is not compatible with python-2.6. "as" is protected and cannot be used as a variable name. On Thursday 30 October 2008 09:49:24 am John Hunter wrote: > On Thu, Oct 30, 2008 at 12:32 AM, Jae-Joon Lee <[EMAIL PROTECTED]> wrote: > > John and others, > > > > I submitted a pat

Re: [matplotlib-devel] SVG clickable images

2008-10-30 Thread Eric Bruning
Another use case in favor of implementation of the URL property at the artist level: Consider a map with scatter points representing geolocated photos that can be viewed at some URL. Attach a mouse click on the artist to the following code: import webbrowser webbrowser.open(patch.url) And you have

Re: [matplotlib-devel] SVG clickable images

2008-10-30 Thread John Hunter
On Thu, Oct 30, 2008 at 8:10 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > In the specific case of bar(), one may still be forced to manually set > urls on each Rectangle if one wants those urls to be different. But > this is no different than the current situation wrt facecolor or any > ot

Re: [matplotlib-devel] annotation with fancy arrow

2008-10-30 Thread John Hunter
On Thu, Oct 30, 2008 at 12:32 AM, Jae-Joon Lee <[EMAIL PROTECTED]> wrote: > John and others, > > I submitted a patch of the fancy arrow I mentioned a while ago. > > http://sourceforge.net/tracker2/?func=detail&aid=2209021&group_id=80706&atid=560722 Hi Jae Joon -- sorry for not responding. I had c

Re: [matplotlib-devel] SVG clickable images

2008-10-30 Thread Michael Droettboom
Jae-Joon Lee wrote: > 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. > Also note that this specific functionality isn't backend-specific. PDF files, for example, also have the ability to have

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

2008-10-30 Thread Michael Droettboom
Agreed. I think it is missing only be accident. Mike John Hunter wrote: > 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'

Re: [matplotlib-devel] legend class with paddings in canvas unit

2008-10-30 Thread John Hunter
On Thu, Oct 30, 2008 at 2:59 AM, Jae-Joon Lee <[EMAIL PROTECTED]> wrote: > Basic idea is to create a new version of the Legend class with a same > interface to the current one. > Eric's original suggestion was to use some optional kwarg to choose the > version. > But I found this approach does not

[matplotlib-devel] legend class with paddings in canvas unit

2008-10-30 Thread Jae-Joon Lee
Hello, I have been putting some initial effort on implementing a new Legend class which has paddings in canvas unit. A related post is http://www.mail-archive.com/[EMAIL PROTECTED]/msg08560.html My current implementation has a same functionality as the old one (an example figure attached), but