def uninstall(plugin_name, *args):
if isinstance(plugin_name, (str,)):<EOL><INDENT>plugin_name = [plugin_name]<EOL><DEDENT>available_path = MICRODROP_CONDA_SHARE.joinpath('<STR_LIT>', '<STR_LIT>')<EOL>for name_i in plugin_name:<EOL><INDENT>plugin_module_i = name_i.split('<STR_LIT:.>')[-<NUM_LIT:1>].replace('<STR_LIT:->', '<STR_LIT:_>')<EOL>plugin_path_i = available_path.joinpath(plugin_module_i)<EOL>if not _islinklike(plugin_path_i) and not plugin_path_i.isdir():<EOL><INDENT>raise IOError('<STR_LIT>'<EOL>.format(name_i, available_path))<EOL><DEDENT>else:<EOL><INDENT>logging.debug('<STR_LIT>', plugin_path_i)<EOL><DEDENT><DEDENT>conda_args = ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>'] + list(args) + plugin_name<EOL>uninstall_log_js = ch.conda_exec(*conda_args, verbose=False)<EOL>_remove_broken_links()<EOL>logger.debug('<STR_LIT>', plugin_name)<EOL>return json.loads(uninstall_log_js.split('<STR_LIT:\x00>')[-<NUM_LIT:1>])<EOL>
Uninstall plugin packages.

Plugin packages must have a directory with the same name as the package in
the following directory:

    <conda prefix>/share/microdrop/plugins/available/

Parameters
----------
plugin_name : str or list
    Plugin package(s) to uninstall.
*args
    Extra arguments to pass to Conda ``uninstall`` command.

Returns
-------
dict
    Conda uninstallation log object (from JSON Conda uninstall output).