def _on_custom_pan_left(self, evt):
        ONE_SCREEN = 7  # we default to 1 week
        axes = self.canvas.figure.axes[0]
        x1, x2 = axes.get_xlim()
        ONE_SCREEN = 2 / (x2 - x1)
        axes.set_xlim(x1 - ONE_SCREEN, x2 - ONE_SCREEN)
        self.canvas.draw()


    # pan the graph to the right
dataset/ETHPy150Open ODM2/ODMToolsPython/odmtools/gui/mnuPlotToolbar.py/MyCustomToolbar._on_custom_pan_left/swapped operands of `/`