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