Re: [matplotlib-devel] Adding interactivity to an histogram in SVG

2011-08-23 Thread David Huard
Mike, I forked your branch and created this one which includes the revised histogram example. https://github.com/huard/matplotlib/tree/interactive_svg Cheers David On Tue, Aug 23, 2011 at 1:37 PM, David Huard wrote: > On Tue, Aug 23, 2011 at 11:29 AM, Michael Droettboom wrote: >> On 08/23/20

Re: [matplotlib-devel] Adding interactivity to an histogram in SVG

2011-08-23 Thread David Huard
On Tue, Aug 23, 2011 at 11:29 AM, Michael Droettboom wrote: > On 08/23/2011 10:06 AM, David Huard wrote: >> >> You may want to try moving the "" containing the clipPath up a >>> level, so it is a peer with the histogram rectangles. >> Yep, that works. >> >>> That's just a stab in >>> the dark.  If

Re: [matplotlib-devel] Adding interactivity to an histogram in SVG

2011-08-23 Thread Michael Droettboom
On 08/23/2011 10:06 AM, David Huard wrote: > > You may want to try moving the "" containing the clipPath up a >> level, so it is a peer with the histogram rectangles. > Yep, that works. > >> That's just a stab in >> the dark. If that turns out that makes the difference, that should be an >> easy e

Re: [matplotlib-devel] Adding interactivity to an histogram in SVG

2011-08-23 Thread David Huard
Hi Mike, Thanks for looking into this. On Mon, Aug 22, 2011 at 5:52 PM, Michael Droettboom wrote: > I'm tinkering with your example a little bit, but clicking on the legend > items doesn't seem to do anything whether it contains the offending clipPath > snippet or not. What version of matplotli