Exemplo n.º 1
0
 def save(self, filename, bgcolor=None):
     return save_plot(self.plot.plot, filename, bgcolor=bgcolor)
Exemplo n.º 2
0
 def save(self, filename, bgcolor=None):
     if self.style == "heat":
         component = self.plot.container
     elif self.style == "hinton":
         component = self.plot.plot
     return save_plot(component, filename, bgcolor=bgcolor)