Пример #1
0
 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")
Пример #2
0
    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")
Пример #3
0
	def save_image(self):
		response=save_as_image(self)
		if response != None:
			plot_export(response,self.input_files,self.data[0],self.fig)
Пример #4
0
 def callback_save(self):
     file_name = save_as_image(self)
     if file_name != False:
         self.canvas_lumo.figure.savefig(file_name)
Пример #5
0
 def callback_save_image(self):
     file_name = save_as_image(self)
     if file_name != None:
         self.fig.savefig(file_name)