When I close all matplotlib windows from an ipython console using the following command
plt.close("all")
I occasionally get the following error, but it's not very reproducible:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_qt4.py", line 156, in <lambda>
lambda: self.close_event())
File "/usr/lib/pymodules/python2.7/matplotlib/backend_bases.py", line 1564, in close_event
self.callbacks.process(s, event)
RuntimeError: wrapped C/C++ object of %S has been deleted
I am using spyder 2.2.0dev, matplotlib 1.1.1, Qt 4.8.2 via PyQt4 (API v2) 4.9.3
I'm not sure whether this is a spyder issue or a matplotlib issue. Has anybody else noticed this?