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

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

src/b/i/biopython-HEAD/Tests/test_ColorSpiral.py   biopython(Download)
    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-1.63/Tests/test_ColorSpiral.py   biopython(Download)
    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):