<div dir="ltr">Hi Jason,<div><br></div><div>this is great news! Very much looking forward to seeing this work its way into master for both projects, and eventually likely to become the standard.  Very happy to see that all the time we put into the design of the comm machinery is paying off.</div>

<div><br></div><div>Cheers,</div><div><br></div><div>f</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 15, 2013 at 6:07 AM, Jason Grout <span dir="ltr"><<a href="mailto:jason-sage@creativetrax.com" target="_blank">jason-sage@creativetrax.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I should probably have cross-posted this:<br>
<a href="http://sourceforge.net/mailarchive/message.php?msg_id=31640342" target="_blank">http://sourceforge.net/mailarchive/message.php?msg_id=31640342</a><br>
<br>
Following a very helpful conversation with Michael yesterday in the<br>
dev hangout, I got the interactive matplotlib working with the current<br>
master (of matplotlib and ipython).<br>
<br>
I updated the pull request at<br>
<a href="https://github.com/matplotlib/matplotlib/pull/2524" target="_blank">https://github.com/matplotlib/matplotlib/pull/2524</a><br>
<br>
To test this, run IPython (master branch, to get the comm commits), and<br>
put this in a cell:<br>
<a href="https://github.com/matplotlib/matplotlib/pull/2524#issuecomment-28539813" target="_blank">https://github.com/matplotlib/matplotlib/pull/2524#issuecomment-28539813</a><br>
<br>
Then you can execute something like:<br>
<br>
from matplotlib.figure import Figure<br>
import numpy as np<br>
fig = Figure()<br>
a = fig.add_subplot(111)<br>
t = np.arange(0.0, 3.0, 0.01)<br>
s = np.sin(2 * np.pi * t)<br>
a.plot(t, s)<br>
CommFigure(fig)<br>
<br>
and get a live figure in the IPython notebook that uses the comm<br>
messaging infrastructure.<br>
<br>
I also got this working in the Sage cell server:<br>
<br>
<a href="http://sagecell.sagemath.org/?q=ilpajg" target="_blank">http://sagecell.sagemath.org/?q=ilpajg</a> (for a sage plotting example)<br>
<br>
<a href="http://sagecell.sagemath.org/?q=spadja" target="_blank">http://sagecell.sagemath.org/?q=spadja</a> (for one of the examples from the<br>
matplotlib docs)<br>
<br>
Thanks again for everyone's work on the comm infrastructure!<br>
<br>
Jason<br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Fernando Perez (@fperez_org; <a href="http://fperez.org" target="_blank">http://fperez.org</a>)<br>fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)<br>

fernando.perez-at-berkeley: contact me here for any direct mail<br>
</div>