示例#1
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')
示例#2
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 = list(map(int, self.nbins.split(",")))
            else:
                self.nbins = int(self.nbins)
示例#3
0
    def __init__(self, *args, **kwargs):
        Renderer.__init__(self, *args, **kwargs)

        if "autoplay" in kwargs:
            self.autoplay = "true"
        else:
            self.autoplay = "false"

        self.thumbnail_display = kwargs.get("thumbnail-display", 4)
        self.thumbnail_lanes = kwargs.get("thumbnail-lanes", 1)
        self.thumbnail_width = kwargs.get("thumbnail-width", 200)
    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')
示例#5
0
    def __init__(self, *args, **kwargs):
        Renderer.__init__(self, *args, **kwargs)
        BokehPlotter.__init__(self, *args, **kwargs)

        self.as_lines = "as-lines" in kwargs

        # data to use for Y error bars
        self.yerror = "yerror" in kwargs

        # do not plot more than ten tracks in one plot
        self.split_at = 10

        self.format_colors = bk.brewer["Spectral"][10]
    def __init__(self, *args, **kwargs):
        Renderer.__init__(self, *args, **kwargs)
        Plotter.__init__(self, *args, **kwargs)

        self.statement = kwargs.get('statement')
 def __init__(self, *args, **kwargs):
     Renderer.__init__(self, *args, **kwargs)
     Plotter.__init__(self, *args, **kwargs)
     SeabornPlot.__init__(self, *args, **kwargs)