

@grammar((list, KeyedList))
def legends(value):
    'list or KeyedList of ``Legends`` : Legend definitions\n\n        Legends visualize scales, and take one or more scales as their input.\n        They can be customized via a LegendProperty object.\n        '
    for (i, entry) in enumerate(value):
        _assert_is_type('legends[{0}]'.format(i), entry, Legend)

dataset/ETHPy150Open wrobstory/vincent/vincent/visualization.py Visualization.legends/original