@grammar((list, KeyedList))
    def scales(value):
        for i, entry in enumerate(value):
            _assert_is_type('scales[{0}]'.format(i), entry, Scale)
list or KeyedList of ``Scale`` : Scale definitions
dataset/ETHPy150Open wrobstory/vincent/vincent/visualization.py/Visualization.scales