#NEWLINE# def _glyph_changed( self , old , new ) : #NEWLINE# #INDENT# if ( old is not None ) : #NEWLINE# #INDENT# old . on_trait_change ( self . _color_mode_changed , 'color_mode' , remove = True ) #NEWLINE# #UNINDENT# new . on_trait_change ( self . _color_mode_changed , 'color_mode' ) #NEWLINE# new . module = self #NEWLINE# actor = self . actor #NEWLINE# if ( actor is not None ) : #NEWLINE# #INDENT# actor . inputs = [ new ] #NEWLINE# #UNINDENT# self . _change_components ( old , new )