def reset_plugin_settings(self, plugin_id):
        """ Resets all settings of a given plugin """
        for setting in itervalues(self.settings[plugin_id]):
            setting.value = setting.default
 Resets all settings of a given plugin 
metadrive/render_pipeline/rpcore/pluginbase/manager.py