'Updates the zoom transformation of the plot items.'

def update_zoom(self):

    zt = self.zoom_transform()
    self._zoom_transform = zt
    self.set_zoom_transform(zt)
    self.update_axes(zoom_only=True)
    self.viewport().update()
