예제 #1
0
 def print_figure(self, filename, *args, **kwargs):
     # Use pure Agg renderer to draw
     FigureCanvasAgg.print_figure(self, filename, *args, **kwargs)
     # Restore the current view; this is needed because the
     # artist contains methods rely on particular attributes
     # of the rendered figure for determining things like
     # bounding boxes.
     if self._isDrawn:
         self.draw()
예제 #2
0
 def print_figure(self, filename, *args, **kwargs):
     # Use pure Agg renderer to draw
     FigureCanvasAgg.print_figure(self, filename, *args, **kwargs)
     # Restore the current view; this is needed because the
     # artist contains methods rely on particular attributes
     # of the rendered figure for determining things like
     # bounding boxes.
     if self._isDrawn:
         self.draw()
예제 #3
0
 def print_figure(self, *args, **kwargs):
     FigureCanvasAgg.print_figure(self, *args, **kwargs)
     self.draw()
예제 #4
0
 def print_figure(self, *args, **kwargs):
     FigureCanvasAgg.print_figure(self, *args, **kwargs)
     self.draw()
예제 #5
0
 def print_figure(self, filename, *args, **kwargs):
     FigureCanvasAgg.print_figure(self, filename, *args, **kwargs)
     if self._isDrawn:
         self.draw()