def create_preview(self): # Create Image window for graph preview self.preview = Gtk.Image() self.preview.show()