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

Antonino Ingargiola tritemio at gmail.com
Tue Jul 29 17:39:23 EDT 2014


On Tue, Jul 29, 2014 at 2:34 PM, Fernando Perez <fperez.net at gmail.com>
wrote:

>
> On Tue, Jul 29, 2014 at 2:11 PM, Antonino Ingargiola <tritemio at gmail.com>
> wrote:
>
>> 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...
>

Right, thanks!

Antonio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140729/cd659a46/attachment.html>


More information about the IPython-dev mailing list