Hi Mike,

Thanks for looking into this.

On Mon, Aug 22, 2011 at 5:52 PM, Michael Droettboom <md...@stsci.edu> 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 matplotlib are you using?

I'm using matplotlib from git dating back to August 3.

> What browser
> (and version) are you using to interact with the SVG?

Chromium (12).

> Can you attach the
> SVG file (maybe in both working and broken states), so I can tinker with
> it?

Here are two versions, one working as expected and the other with the glitch.

You may want to try moving the "<defs>" 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 enough fix within matplotlib.

That would be great !

I'd be glad to contribute an example for the matplotlib gallery if
there is an interest. I think the SVG+JS combo has a lot of potential,
and matplotlib makes it easy.

Cheers,

David

<<attachment: hist_broken.svg>>

<<attachment: hist_working.svg>>

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to