Esempio n. 1
0
def test_cubehelix_pal():
    palette = cubehelix_pal()
    values = palette(5)
    assert len(values) == 5
    assert all(s[0] == '#' and len(s) == 7 for s in values)
Esempio n. 2
0
def test_cubehelix_pal():
    palette = cubehelix_pal()
    values = palette(5)
    assert len(values) == 5
    assert all(s[0] == '#' and len(s) == 7 for s in values)