

def update_data(self):
    'Override this method to do what is necessary when upstream\n        data changes.\n\n        This method is invoked (automatically) when any of the inputs\n        sends a `data_changed` event.\n        '
    inputs = self.inputs
    if ((len(inputs) == 0) or (len(self[0].outputs) == 0)):
        return
    self.filter.update()
    self._set_array_name(self.filter)
    self.data_changed = True

dataset/ETHPy150Open enthought/mayavi/mayavi/filters/extract_vector_norm.py ExtractVectorNorm.update_data/VarMisuse@32/103 `inputs`->`self`