Example #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)
Example #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)
Example #4
0
 def save_graph(self):
     saveplot.save_plot(self.plotview, FileFormat.img_writers)
Example #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())))
Example #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)
Example #7
0
 def save_graph(self):
     saveplot.save_plot(self.plotview, self.parent.graph_writers)
Example #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())))
Example #9
0
 def save_graph(self):
     saveplot.save_plot(self.plotview, FileFormat.img_writers)