def callback_save(self): response=save_as_image(self) if response != None: file_name=response if os.path.splitext(file_name)[1]: self.save_image(file_name) else: filter=response self.save_image(file_name+".png")
def callback_plot_save(self): response=save_as_image(self) if response != None: plot_export(response,self.input_files,self.plot_token,self.fig)