Exemple #1
0
def test_graticule():
    data = alt.graticule()
    assert data.to_dict() == {"graticule": True}

    data = alt.graticule(step=[15, 15])
    assert data.to_dict() == {"graticule": {"step": [15, 15]}}
Exemple #2
0
def test_graticule():
    data = alt.graticule()
    assert data.to_dict() == {'graticule': True}

    data = alt.graticule(step=[15, 15])
    assert data.to_dict() == {'graticule': {'step': [15, 15]}}