def get_colorscale_lut(vis_widget):
    """Retrieve the LUT (lookup table) of a mayavi widget

    not sure this is valid for all mayavi things...

    """
    return vis_widget.module_manager.scalar_lut_manager.lut
