示例#1
0
	def save_image(self):
		file_name = save_as_jpg(self)
		if file_name !=None:
			self.fig.savefig(file_name)
示例#2
0
	def callback_save(self, widget, data=None):
		file_name = save_as_jpg(self)
		if file_name !=None:
			self.save_image(file_name)