Beispiel #1
0
    def save_graph(self):
        """Save the graph with the name given in class attribute `graph_name`.

        The method is called by the *Save graph* button, which is created
        automatically if the `graph_name` is defined.
        """
        graph_obj = getdeepattr(self, self.graph_name, None)
        if graph_obj is None:
            return
        saveplot.save_plot(graph_obj, self.graph_writers)
Beispiel #2
0
    def save_graph(self):
        """Save the graph with the name given in class attribute `graph_name`.

        The method is called by the *Save graph* button, which is created
        automatically if the `graph_name` is defined.
        """
        graph_obj = getdeepattr(self, self.graph_name, None)
        if graph_obj is None:
            return
        saveplot.save_plot(graph_obj, self.graph_writers)
 def save_graph(self):
     saveplot.save_plot(self.plotview, self.parent.graph_writers)
Beispiel #4
0
 def save_graph(self):
     saveplot.save_plot(self.plotview, FileFormat.img_writers)
Beispiel #5
0
 def save_graph(self):
     save_plot(data=dict(scene=self.scene, tree=self.tree),
               file_formats=dict(
                   chain(FileFormat.img_writers.items(),
                         FileFormat.graph_writers.items())))
Beispiel #6
0
 def save_graph(self):
     graph_obj = getdeepattr(self, self.graph_name, None)
     if graph_obj is None:
         return
     saveplot.save_plot(graph_obj, self.graph_writers)
Beispiel #7
0
 def save_graph(self):
     saveplot.save_plot(self.plotview, self.parent.graph_writers)
Beispiel #8
0
 def save_graph(self):
     save_plot(data=dict(scene=self.scene, tree=self.tree),
               file_formats=dict(chain(FileFormat.img_writers.items(),
                                       FileFormat.graph_writers.items())))
Beispiel #9
0
 def save_graph(self):
     saveplot.save_plot(self.plotview, FileFormat.img_writers)