#NEWLINE# def _cmap_changed( self , old_value , value ) : #NEWLINE# #INDENT# if ( ( old_value is None ) or ( value is None ) ) : #NEWLINE# #INDENT# self . _data_changed ( self . data ) #NEWLINE# #UNINDENT# cmap_func = self . _get_cmap_function ( ) #NEWLINE# self . _image . color_mapper = cmap_func ( self . _image . value_range )