def set_lut(self, lut):
        self.mapper.lookup_table = lut
        # A hack to avoid a problem with the VRML output that seems to
        # ignore the use_lookup_table_scalar_range setting
        # on the mapping
        self.mapper.scalar_range = lut.table_range

    ######################################################################
    # Non-public interface.
    ######################################################################
Set the Lookup table to use.
dataset/ETHPy150Open enthought/mayavi/mayavi/components/actor.py/Actor.set_lut