def _save_as_image_changed(self): if len(self.datasets) == 0: return filename = get_save_as_filename() if filename: PlotOutput.save_as_image(self.container, filename) open_file_dir_with_default_handler(filename)
def save_as(self, filename): PlotOutput.save_as_image(self.component, filename)
def copy_to_clipboard(self): PlotOutput.copy_to_clipboard(self.component)
def _save_plot(self, filename): PlotOutput.save_as_image(self.container, self.basedir + filename, width=800, height=600)
def _copy_to_clipboard_changed(self): if self.datasets: PlotOutput.copy_to_clipboard(self.container)