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