def __init__(self, experiment, auto_prepare=True, **style_args): canvas.canvas.__init__(self, experiment, auto_prepare=auto_prepare, **style_args) legacy_coordinates.__init__(self) self.antialias = True self.surface = self.experiment.surface.copy() self.clear()
def __init__(self, experiment, auto_prepare=True, **style_args): canvas.canvas.__init__(self, experiment, auto_prepare=auto_prepare, **style_args) legacy_coordinates.__init__(self) self.antialias = True self.surface = self.experiment.surface.copy() self.clear() if platform.system() == u'Darwin': self.show = self._show_macos
def __init__(self, experiment, **resp_args): mouse.mouse.__init__(self, experiment, **resp_args) legacy_coordinates.__init__(self)