def callback_save(self, widget, data=None): file_name = save_as_image(self) if file_name != None: if os.path.splitext(file_name)[1]: self.save_image(file_name) else: self.save_image(file_name + ".png")
def image_save(self): response = save_as_image(self) if response != None: file_name = response if os.path.splitext(file_name)[1]: self.fig.savefig(file_name) else: filter = response self.fig.savefig(file_name + ".png")
def save_image(self): response=save_as_image(self) if response != None: plot_export(response,self.input_files,self.data[0],self.fig)
def callback_save(self): file_name = save_as_image(self) if file_name != False: self.canvas_lumo.figure.savefig(file_name)
def callback_save_image(self): file_name = save_as_image(self) if file_name != None: self.fig.savefig(file_name)