aniplot/graph_window.py
def zoom_in(self, x_ratio, y_ratio):
        """ zoom in. exactly 'percent' fewer samples are visible. """
        n = (self.wsx2 - self.wsx1) * x_ratio
        self.wsx1 += n / 2.
        self.wsx2 -= n / 2.
        n = (self.wsy2 - self.wsy1) * y_ratio
        self.wsy1 += n / 2.
        self.wsy2 -= n / 2.
 zoom in. exactly 'percent' fewer samples are visible. 
zoom in. exactly 'percent' fewer samples are visible.
zoom in . exactly ' percent ' fewer samples are visible .
def zoom_in(self, x_ratio, y_ratio):
        n = (self.wsx2 - self.wsx1) * x_ratio
        self.wsx1 += n / 2.
        self.wsx2 -= n / 2.
        n = (self.wsy2 - self.wsy1) * y_ratio
        self.wsy1 += n / 2.
        self.wsy2 -= n / 2.
def zoom_in ( self , x_ratio , y_ratio ) : n = ( self . wsx2 - self . wsx1 ) * x_ratio self . wsx1 += n / 2. self . wsx2 -= n / 2. n = ( self . wsy2 - self . wsy1 ) * y_ratio self . wsy1 += n / 2. self . wsy2 -= n / 2.
zoom in.
zoom in .
""" zoom in. exactly 'percent' fewer samples are visible. """
self
x_ratio
y_ratio