예제 #1
0
    def __init__(self, *args, **kwargs):
        Renderer.__init__(self, *args, **kwargs )
        Plotter.__init__(self, *args, **kwargs )

        self.nbins = kwargs.get("nbins", "128" )
        if self.nbins:
            if "," in self.nbins: self.nbins=map(int, self.nbins.split(","))
            else: self.nbins=int(self.nbins)
예제 #2
0
    def __init__(self, *args, **kwargs):
        Renderer.__init__(self, *args, **kwargs )
        Plotter.__init__(self, *args, **kwargs )
        
        if "statement" not in kwargs:
            raise ValueError("r-ggplot renderer requires a statement option" )

        self.statement = kwargs.get( 'statement' )
예제 #3
0
    def __init__(self, *args, **kwargs):
        Renderer.__init__(self, *args, **kwargs )
        Plotter.__init__(self, *args, **kwargs )
        
        if "aes" not in kwargs:
            raise ValueError("ggplot renderer requires an aesthetics option" )

        if "geom" not in kwargs:
            raise ValueError("ggplot renderer requires a geom option" )

        self.aes = kwargs.get( 'aes' )
        self.geom = kwargs.get( 'geom' )
예제 #4
0
 def __init__(self, *args, **kwargs):
     Renderer.__init__(self, *args, **kwargs )
     Plotter.__init__(self, *args, **kwargs )