matplotlib.axes.Axes.redraw_in_frame

Axes.redraw_in_frame(self)

This method can only be used after an initial draw which caches the renderer. It is used to efficiently update Axes data (axis ticks, labels, etc are not updated)