Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(4)  |  Derive(0)  |  Import(3)

src/b/i/biopython-1.63/Tests/test_ColorSpiral.py   biopython(Download)
 
# Biopython Bio.Graphics.ColorSpiral
from Bio.Graphics.ColorSpiral import ColorSpiral, get_colors, get_color_dict
 
 
    def test_colorlist(self):
        """Get set of eight colours, no jitter, using ColorSpiral."""
        cs = ColorSpiral(a = 4, b = 0.33, jitter = 0)
        colours = list(cs.get_colors(8))
        cstr = ["(%.2f, %.2f, %.2f)" % (r, g, b)
    def test_colorspiral(self):
        """Get set of 16 colours, no jitter, using ColorSpiral."""
        cs = ColorSpiral(a = 4, b = 0.33, jitter = 0)
        radius = A4[0] * 0.025
        for r, g, b in cs.get_colors(16):

src/b/i/biopython-HEAD/Tests/test_ColorSpiral.py   biopython(Download)
 
# Biopython Bio.Graphics.ColorSpiral
from Bio.Graphics.ColorSpiral import ColorSpiral, get_colors, get_color_dict
 
 
    def test_colorlist(self):
        """Get set of eight colours, no jitter, using ColorSpiral."""
        cs = ColorSpiral(a = 4, b = 0.33, jitter = 0)
        colours = list(cs.get_colors(8))
        cstr = ["(%.2f, %.2f, %.2f)" % (r, g, b)
    def test_colorspiral(self):
        """Get set of 16 colours, no jitter, using ColorSpiral."""
        cs = ColorSpiral(a = 4, b = 0.33, jitter = 0)
        radius = A4[0] * 0.025
        for r, g, b in cs.get_colors(16):

src/f/a/fammer-0.2/fammerlib/cluster.py   fammer(Download)
from Bio import AlignIO, SeqIO, Phylo
from Bio.Phylo.BaseTree import BranchColor
from Bio.Graphics.ColorSpiral import ColorSpiral
 
from biofrills import alnutils