#NEWLINE# def set_config( self , config ) : #NEWLINE# #INDENT# ' set the config for elements ' #NEWLINE# for ( elem_name , elem_config ) in config . items ( ) : #NEWLINE# #INDENT# element = getattr ( self , elem_config ) #NEWLINE# element . set_config ( elem_config ) #NEWLINE# #UNINDENT# self . pglot . update_config ( )