#NEWLINE# def _filter_changed( self , old , new ) : #NEWLINE# #INDENT# if ( old is not None ) : #NEWLINE# #INDENT# old . on_trait_change ( self . update_data , remove = True ) #NEWLINE# #UNINDENT# new . on_trait_change ( self . update_data ) #NEWLINE# if ( old is not None ) : #NEWLINE# #INDENT# self . update_pipeline ( )