<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Le 3 juin 2013 à 15:31, Benjamin Root a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 3, 2013 at 2:58 AM, Matthias BUSSONNIER <span dir="ltr"><<a href="mailto:bussonniermatthias@gmail.com" target="_blank">bussonniermatthias@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi ben,<br>
Le 3 juin 2013 à 00:43, Benjamin Root a écrit :<br>
<div class="im"><br>
> 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?<br>


<br>
</div>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 ?<br></blockquote><div><br></div><div>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.<br></div></div></div></div></blockquote><div><br></div><div>Could it be linked to </div><div><a href="https://github.com/ipython/ipython/issues/1866">https://github.com/ipython/ipython/issues/1866</a> ?</div><div><br></div><div>Can you share an ipynb so that I can take a look ? </div><div>-- </div><div>Matthias</div><div><br></div><br><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>

<br></div><div>Cheers!<br></div><div>Ben Root<br></div></div></div></div>
_______________________________________________<br>IPython-dev mailing list<br><a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>http://mail.scipy.org/mailman/listinfo/ipython-dev<br></blockquote></div><br></body></html>