def unregister(self, plugin_id):
        manifest = self._manifests.get(plugin_id)
        if manifest is None:
            msg = "plugin '%s' is not registered"
            raise ValueError(msg % plugin_id)

        plugin = self._plugins.pop(plugin_id, None)
        if plugin is not None:
            plugin.stop()
            plugin.manifest = None

        self._remove_extensions(manifest.extensions)
        self._remove_extension_points(manifest.extension_points)

        del self._manifests[plugin_id]
        manifest.workbench = None

        self.plugin_removed(plugin_id)
Remove a plugin from the workbench.
dataset/ETHPy150Open nucleic/enaml/enaml/workbench/workbench.py/Workbench.unregister