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

Matthias BUSSONNIER bussonniermatthias@gmail....
Mon Jun 3 09:58:44 CDT 2013

Le 3 juin 2013 à 15:31, Benjamin Root a écrit :

> On Mon, Jun 3, 2013 at 2:58 AM, Matthias BUSSONNIER <bussonniermatthias@gmail.com> wrote:
> Hi ben,
> Le 3 juin 2013 à 00:43, Benjamin Root a écrit :
> > Digging further, I see that the xml data is making it to the browser, but the javascript embedded within the svg file is completely stripped out.  Is that on purpose?  Is there a way I can override that behavior?
> No we don't strip js out of XML by intent (yet). Have you try to use HTML that itself contain a script tag, and an svg  tag with an ID so that you can refer to it ?
> Well, something is stripping it out, between the call to IPython.display.SVG() and what Firefox tells me it sees.  Since I need this to work for the tutorial, I am just going to have to assume that this is a bug somewhere and go for the embedded HTML approach that you suggest, since most of those at the tutorial would have this bug.

Could it be linked to 
https://github.com/ipython/ipython/issues/1866 ?

Can you share an ipynb so that I can take a look ? 

> Cheers!
> Ben Root
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20130603/3c8ffd44/attachment.html 

More information about the IPython-dev mailing list