def test_vl_spec_for_scale_defaults():

    # This scale object is the property used for X, Y, Size
    scale = api.Scale()
    assert scale.type == 'linear'
    assert scale.reverse == False
    assert scale.zero == True
    assert scale.nice is None
    assert scale.useRawDomain is None

    # Scale object for property in Color
    scale = api.ColorScale()
    assert scale.type == 'linear'
    assert scale.reverse == False
    assert scale.zero == True
    assert scale.nice is None
    assert scale.useRawDomain is None
    assert scale.range is None
    assert scale.c10palette == 'category10'
    assert scale.c20palette == 'category20'
    assert scale.ordinalPalette == 'BuGn'
Check that defaults are according to spec
dataset/ETHPy150Open ellisonbg/altair/altair/tests/test_api.py/test_vl_spec_for_scale_defaults