

def __init__(self, *args, **kwargs):
    "Initialize a Visualization\n\n        In addition to setting any attributes, this sets the data, marks,\n        scales, and axes properties to empty KeyedLists if they aren't\n        defined by the arguments.\n        "
    super(Visualization, self).__init__(*args, **kwargs)
    for attrib in ('data', 'scales'):
        if (not getattr(self, attrib)):
            setattr(self, attrib, KeyedList(attr_name='name'))
    for attrib in ('axes', 'marks'):
        if (not getattr(self, attrib)):
            setattr(attrib, attrib, KeyedList(attr_name='type'))
    if (not self.legends):
        self.legends = []

dataset/ETHPy150Open wrobstory/vincent/vincent/visualization.py Visualization.__init__/VarMisuse@100/198 `self`->`attrib`