

def test_configure():
    (spec, data) = build_simple_spec()
    spec.configure(height=100, width=200)
    res = data.to_dict()
    assert (res['config']['height'] == 100)
    assert (res['config']['width'] == 200)

dataset/ETHPy150Open ellisonbg/altair/altair/tests/test_api.py test_configure/VarMisuse@34/38 `spec`->`data`