Esempio n. 1
0
	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")
Esempio n. 2
0
	def callback_plot_save(self):
		response=save_as_image(self)
		if response != None:
			plot_export(response,self.input_files,self.plot_token,self.fig)