How to use the biolib.plots.abstract_plot.AbstractPlot.__init__ function in biolib

To help you get started, we’ve selected a few biolib examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dparks1134 / CompareM / comparem / plots / heatmap.py View on Github external
def __init__(self, infile, outfile):
        AbstractPlot.__init__(self, None)
        
        self.outfile = outfile
        self.genomes = None
        self._parse_data(infile)
        
        self.colormap = pylab.cm.bwr

        self.discreteColourMap = ListedColormap([(141/255.0, 211/255.0, 199/255.0),(255/255.0, 255/255.0, 179/255.0),
                                                    (190/255.0, 186/255.0, 218/255.0),(251/255.0, 128/255.0, 114/255.0),
                                                    (128/255.0, 177/255.0, 211/255.0),(253/255.0, 180/255.0, 98/255.0),
                                                    (179/255.0, 222/255.0, 105/255.0),(252/255.0, 205/255.0, 229/255.0),
                                                    (217/255.0, 217/255.0, 217/255.0), (188/255.0, 128/255.0, 189/255.0),
                                                    (204/255.0, 235/255.0, 197/255.0),(255/255.0, 237/255.0, 111/255.0)])
github dparks1134 / RefineM / refinem / plots / base_plot.py View on Github external
def __init__(self, options):
        """Initialize."""
        AbstractPlot.__init__(self, options)
github dparks1134 / RefineM / refinem / plots / distribution_plots.py View on Github external
def __init__(self, options):
        """Initialize plot."""
        AbstractPlot.__init__(self, options)
github dparks1134 / RefineM / refinem / plots / combined_plots.py View on Github external
def __init__(self, options):
        """Initialize."""
        AbstractPlot.__init__(self, options)