def _data_range_changed(self, value):
        try:
            self.lut.set_range(value[0], value[1])
        except TypeError:
            self.lut.set_range((value[0], value[1]))
        except __HOLE__:
            self.lut.range = value
        self.scalar_bar.modified()
        self.render()
dataset/ETHPy150Open enthought/mayavi/mayavi/core/lut_manager.py/LUTManager._data_range_changed