[IPython-dev] IPython notebook widgets for interactive matplotlib figures

Fernando Perez fperez.net at gmail.com
Tue Jul 29 17:34:11 EDT 2014

On Tue, Jul 29, 2014 at 2:11 PM, Antonino Ingargiola <tritemio at gmail.com>

> def add_cursor(fig, ax):
>     plt.close()

Make sure you call close on the fig object, so you don't rely on the
implicit state management that pyplot does...

Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140729/024528c7/attachment.html>

More information about the IPython-dev mailing list