<div dir="ltr">Thanks for the answers!<div><br></div><div> I'm still trying to get my head around this, but I still don't fully understand the advantage of having an extension. The only advantage I see is that you can serve static files that you copied from outside the webserver tree?<div><br></div><div>Also, I would say having a Python module is more intuitive as an API than having magic functions installing files into your IPython configuration. But that is maybe preference.</div></div><div><br></div><div>meanwhile I'm understanding my problems a bit better now. Basically <span style="font-size:12.8px">publish_display_data pushes the javascript code to the browser where it is put into eval(). This works for most javascript code, but not for fabricjs. I posted a question about that on the fabric mailinglist:</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><a href="https://groups.google.com/forum/#!topic/fabricjs/W09fEtKopkk">https://groups.google.com/forum/#!topic/fabricjs/W09fEtKopkk</a></span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-01 15:37 GMT+02:00 Kiko <span dir="ltr"><<a href="mailto:kikocorreoso@gmail.com" target="_blank">kikocorreoso@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-10-01 15:16 GMT+02:00 Gijs Molenaar <span dir="ltr"><<a href="mailto:gijsmolenaar@gmail.com" target="_blank">gijsmolenaar@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Kiko,<span class=""><div><br></div><div>one needs to manually enable an extension to use them<br></div></span></div></blockquote></div><br>Like a library ;-)<br><br></div><div class="gmail_extra">There are libraries that have a notebook mode.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">See, for instance, the approach made by this library:<br><a href="https://github.com/quantopian/qgrid#how-it-works" target="_blank">https://github.com/quantopian/qgrid#how-it-works</a><br></div></div>
<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="https://mail.scipy.org/mailman/listinfo/ipython-dev" rel="noreferrer" target="_blank">https://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Gijs Molenaar<br></div><div><a href="http://pythonic.nl" target="_blank">http://pythonic.nl</a></div><div><br></div></div></div></div>
</div>