#NEWLINE# def _load_panel_customization( self ) : #NEWLINE# #INDENT# 'Applies the plugin-based panel configurations.\n\n        This method parses the panel customization from the ``HORIZON_CONFIG``\n        and make changes to the dashboard accordingly.\n\n        It supports adding, removing and setting default panels on the\n        dashboard. It also support registering a panel group.\n        ' #NEWLINE# panel_customization = self . _conf . get ( 'panel_customization' , [ ] ) #NEWLINE# for config in panel_customization : #NEWLINE# #INDENT# if config . get ( 'PANEL' ) : #NEWLINE# #INDENT# self . _process_panel_configuration ( panel_customization ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if config . get ( 'PANEL_GROUP' ) : #NEWLINE# #INDENT# self . _process_panel_group_configuration ( config ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# LOG . warning ( "Skipping %s because it doesn't have PANEL or PANEL_GROUP defined." , config . __name__ )