def _set_settings_visible(self, flag):
        """ Sets whether the settings panel is visible or not """
        if flag:
            self.frame_details.show()
        else:
            self.frame_details.hide()
 Sets whether the settings panel is visible or not 
metadrive/render_pipeline/toolkit/plugin_configurator/main.py