def init_display(self): """Initializes the canvas backend.""" from openexp import canvas canvas.init_display(self) self.python_workspace[u'win'] = self.window