[IPython-dev] Interactive SVG is not interactive in a notebook

Benjamin Root ben.root@ou....
Sat Jun 8 10:36:31 CDT 2013

On Sat, Jun 8, 2013 at 11:15 AM, Matthias BUSSONNIER <
bussonniermatthias@gmail.com> wrote:

> Hi Ben,
> I was able to have it work (at least tooltip showing some text), with the
> help of jQuery ,  with the following.
>     function ShowTooltip(evt, mouseovertext)
>     {
>         console.log(mouseovertext, tooltip_bg)
>         $(tooltip).text(mouseovertext);
>         $(tooltip).attr('visibility','visible');
>         length = tooltip.getComputedTextLength();
>         $(tooltip_bg).attr('width',length+10);
>         $(tooltip_bg).attr('visibility','visible');
>     }
> the script tag in the sag is not visible while inspecting the dom, but It
> is definitively saved in the notebook.
> My guess is that firefox/chrome…etc are stripping JS.
> Hope it will help you to start achieving what you want.

Well, that's great, but like I said, I am not a web developer.  Could you
pass back the notebook and the svg so I can see what you did?  Just simply
changing that in the script doesn't work because there is obviously more to
it than just that.

Ben Root
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20130608/3dae4c94/attachment.html 

More information about the IPython-dev mailing list