Cannot delete matplotlib.animation.FuncAnimation objects
问题 EDIT/TL;DR: It looks like there is a matplotlib.backends.backend_qt4.TimerQT object that hold a reference to my FuncAnimation object. How can I remove it to free the FuncAnimation object? 1 - A little context I'm trying to animate a plot generated with matplotlib. I use matplotlib.animation.FuncAnimation. This animated plot is contained in a FigureCanvasQTAgg (matplotlib.backends.backend_qt4agg), ie. a PyQt4 widget. class ViewerWidget(FigureCanvasQTAgg): def __init__(self, viewer, parent): #