コード例 #1
0
def test_hls_palette():
    colors = hls_palette(10)
    assert len(colors) == 10
    assert all(len(c) == 3 for c in colors)
コード例 #2
0
ファイル: test_palettes.py プロジェクト: has2k1/mizani
def test_hls_palette():
    colors = hls_palette(10)
    assert len(colors) == 10
    assert all(len(c) == 3 for c in colors)