def disable_plugin(plugin_name):
if isinstance(plugin_name, (str,)):<EOL><INDENT>plugin_name = [plugin_name]<EOL><DEDENT>enabled_path = MICRODROP_CONDA_PLUGINS.joinpath('<STR_LIT>')<EOL>for name_i in plugin_name:<EOL><INDENT>plugin_path_i = enabled_path.joinpath(name_i)<EOL>if not _islinklike(plugin_path_i) and not plugin_path_i.isdir():<EOL><INDENT>raise IOError('<STR_LIT>'<EOL>.format(name_i, enabled_path))<EOL><DEDENT><DEDENT>for name_i in plugin_name:<EOL><INDENT>plugin_link_path_i = enabled_path.joinpath(name_i)<EOL>plugin_link_path_i.unlink()<EOL>logger.debug('<STR_LIT>',<EOL>plugin_path_i, plugin_link_path_i)<EOL><DEDENT>
Disable plugin package(s).

Parameters
----------
plugin_name : str or list
    Plugin package(s) to disable.

Raises
------
IOError
    If plugin is not enabled.