Пример #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)
Пример #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)
Пример #3
0
 def save_graph(self):
     saveplot.save_plot(self.plotview, self.parent.graph_writers)
Пример #4
0
 def save_graph(self):
     saveplot.save_plot(self.plotview, FileFormat.img_writers)
Пример #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())))
Пример #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)
Пример #7
0
 def save_graph(self):
     saveplot.save_plot(self.plotview, self.parent.graph_writers)
Пример #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())))
Пример #9
0
 def save_graph(self):
     saveplot.save_plot(self.plotview, FileFormat.img_writers)