def remove(self, bundle, name):
        section_name = 'plugin:{bundle}:{name}'.format(
            bundle=bundle, name=name)

        if not self.config.has_section(section_name):
            raise PluginError('This plugin does not exist.')

        self.config.remove_section(section_name)

        # Again, re-initialize the self.plugins list
        self._plugins = self._init_plugins(self.config)
Remove a plugin from the list and config.
dataset/ETHPy150Open robmadole/jig/src/jig/plugins/manager.py/PluginManager.remove