def __init__(self, ax, plot_function, plot_limits, resolution=50, update_lim=None, **kwargs):
        super(BufferedAxisChangedController, self).__init__(ax, update_lim=update_lim)
        self.resolution = resolution
        self.plot_function = plot_function
        xmin, xmax, ymin, ymax = plot_limits#self._x_lim # self._compute_buffered(*self._x_lim)
        # imshow acts on the limits of the plot, this is why we need to override the limits here, to make sure the right plot limits are used:
        self._x_lim = xmin, xmax
        self._y_lim = ymin, ymax
        self.view = self._init_view(self.ax, self.recompute_X(buffered=False), xmin, xmax, ymin, ymax, **kwargs)
Buffered axis changed controller. Controls the buffer and handles update events for when the axes changed.
dataset/ETHPy150Open SheffieldML/GPy/GPy/plotting/matplot_dep/controllers/axis_event_controller.py/BufferedAxisChangedController.__init__