def __init__(self, component=None, *args, **kw): # Since this class uses multiple inheritance (eek!), lets be # explicit about the order of the parent class constructors AbstractOverlay.__init__(self, component, *args, **kw) BetterZoom.__init__(self, component, *args, **kw) # Store the original range settings x_range = self._get_x_mapper().range y_range = self._get_y_mapper().range self._orig_low_setting = (x_range.low_setting, y_range.low_setting) self._orig_high_setting = (x_range.high_setting, y_range.high_setting)
def __init__(self, component=None, *args, **kw): # Since this class uses multiple inheritance (eek!), lets be # explicit about the order of the parent class constructors AbstractOverlay.__init__(self, component, *args, **kw) BetterZoom.__init__(self, component, *args, **kw)