(self, shape=None, grid=None, xscale=None, yscale=None,
                    showlegend=None, legendloc=None, linewidth=None,
                    graphtype=None, font=None, fontsize=None)
return
Set the options before plotting
Set the options before plotting
Set the options before plotting
def setOptions(self, shape=None, grid=None, xscale=None, yscale=None,
                    showlegend=None, legendloc=None, linewidth=None,
                    graphtype=None, font=None, fontsize=None):
        """Set the options before plotting"""
        if shape != None:
            self.shape = shape
        if grid != None:
            self.grid = grid
        if xscale != None:
            self.xscale = xscale
        if yscale != None:
            self.yscale = yscale
        if showlegend != None:
            self.showlegend = showlegend
        if legendloc != None:
            self.legendloc = legendloc
        if linewidth != None:
            self.linewidth = linewidth
        if graphtype !=None:
            self.graphtype = graphtype
        if font != None:
            self.font = font
        if fontsize != None:
            self.fontsize = fontsize
        pylab.rc("font", family=self.font, size=self.fontsize)
        return
def setOptions ( self , shape = None , grid = None , xscale = None , yscale = None , showlegend = None , legendloc = None , linewidth = None , graphtype = None , font = None , fontsize = None ) : if shape != None : self . shape = shape if grid != None : self . grid = grid if xscale != None : self . xscale = xscale if yscale != None : self . yscale = yscale if showlegend != None : self . showlegend = showlegend if legendloc != None : self . legendloc = legendloc if linewidth != None : self . linewidth = linewidth if graphtype != None : self . graphtype = graphtype if font != None : self . font = font if fontsize != None : self . fontsize = fontsize pylab . rc ( "font" , family = self . font , size = self . fontsize ) return