Little issue with blitting technique


I’ve just discovered blitting technique to
improve performances.

I’m using this example

I encounter an issue if instead of using
subplot I use add_axes method to hand define where I want my plot.

In this case blitting is no more working
like if restore_region was not restoring context…

def init(self):

FigureCanvas.init(self, Figure()) = self.figure.add_subplot(111) = self.figure.add_axes([0.1,0.1,0.8,0.2])

Any idea why in this case the example given
is not working?