def __eq__(self, other):
        return (isinstance(other, self.__class__) and
                other.package == self.package)
def EVT_MOUSEWHEEL(event):
  global zoomdist
  dy = event.WheelRotation
  zoomdist *= np.power(0.95, -dy)
  refresh()