Re: [matplotlib-devel] SVG clickable images

2008-11-07 Thread Michael Droettboom
I went ahead and committed the latest version of your patch. Thanks. This is a cool new feature. I think it's probably low-risk for having Windows problems, but having it in SVN will make it more likely for Windows users to test. Cheers, Mike Andrew Stock wrote: > Jae-Joon, > > Thanks for yo

Re: [matplotlib-devel] SVG clickable images

2008-11-07 Thread Andrew Stock
Jae-Joon, Thanks for your comments. You have successfully found areas in my patch that were overcomplicated! I have attached a new patch which doesn't alter the api of draw_image and uses the im object as Jae-Joon suggests. I've tested this on Linux Python 2.5 as before, but not on Windows as I

Re: [matplotlib-devel] SVG clickable images

2008-11-07 Thread Jae-Joon Lee
Andrew, I just had a quick look at your patch. I'm a bit distracted with your changes regarding the "url" support of the image. Do we need to change the api of the draw_image()? Can we just utilize "im" object as we did with the "gc"? Check the patch below. This simple method seem to work fine for