Module Expr Str Import alias If Call AttributeLoad AttributeLoad NameLoad attr attr Str body ImportFrom alias orelse ImportFrom alias Import alias ImportFrom alias ImportFrom alias Assign NameStore ListLoad Str Str Str Str Str Str Str Assign NameStore NameLoad Assign NameStore Dict Assign NameStore Dict Assign NameStore Dict Assign NameStore Dict Str Str Str ListLoad Str Str Str Str ListLoad Str ListLoad Str FunctionDef arguments args defaults body Expr Str Global identifier Assign NameStore Dict Str Str Str Str Str Str ListLoad ListLoad ListLoad ListLoad ListLoad ListLoad decorator_list Expr Call NameLoad FunctionDef arguments args defaults body Assign NameStore ListLoad Str Str Str Str Str For NameStore NameLoad body Expr Call NameLoad NameLoad SubscriptLoad NameLoad Index Str Assign NameStore GeneratorExp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr CompareNotEq NameLoad Str For NameStore NameLoad body Expr Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Continue TryExcept body Expr Call NameLoad NameLoad keyword NameLoad Break handlers ExceptHandler type TupleLoad NameLoad NameLoad NameLoad body Pass decorator_list FunctionDef arguments args defaults body Expr Call NameLoad Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str For NameStore NameLoad body Assign TupleStore NameStore NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareIn NameLoad NameLoad For NameStore NameLoad body If UnaryOpNot CompareIn NameLoad NameLoad body Print BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore BoolOpAnd CompareNotIn Str NameLoad CompareIn Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Slice Num decorator_list Expr Call NameLoad FunctionDef arguments args NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad For NameStore Call AttributeLoad NameLoad attr body For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict For NameStore NameLoad body If BoolOpOr UnaryOpNot NameLoad CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad ListComp NameLoad comprehension NameStore SubscriptLoad NameLoad Index NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str If UnaryOpNot CompareIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareEq Call NameLoad NameLoad Num body Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIs NameLoad NameLoad body Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Index Num orelse Expr Call NameLoad NameLoad TryExcept body Assign NameStore SubscriptLoad ListComp NameLoad comprehension TupleStore NameStore NameStore NameLoad CompareEq NameLoad NameLoad Index Num handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr orelse If UnaryOpNot CompareIn NameLoad SubscriptLoad NameLoad Index NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad If CompareEq NameLoad Str body Assign NameStore ListLoad NameLoad Str orelse Assign NameStore ListLoad NameLoad Expr Call NameLoad NameLoad For NameStore NameLoad body If UnaryOpNot CompareIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore BinOpAdd ListComp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameLoad CompareEq NameLoad NameLoad ListComp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameLoad CompareNotEq NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpAnd UnaryOpNot Call NameLoad NameLoad Str Call NameLoad NameLoad Str body Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIn NameLoad Call NameLoad keyword NameLoad body Return If UnaryOpNot CompareIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad orelse Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad BinOpAdd Str NameLoad keyword ListLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad For NameStore NameLoad body If CompareEq NameLoad Str body Expr Call NameLoad NameLoad orelse If UnaryOpNot Call NameLoad NameLoad NameLoad body Print BinOpMod Str TupleLoad NameLoad NameLoad Continue Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad NameLoad NameLoad If UnaryOpNot CompareIn TupleLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad ListComp NameLoad comprehension TupleStore NameStore NameStore SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list
N/A N/A Handle image reading, writing and plotting plugins.

To improve performance, plugins are only loaded as needed. As a result, there
can be multiple states for a given plugin:

    available: Defined in an *ini file located in `skimage.io._plugins`.
        See also `skimage.io.available_plugins`.
    partial definition: Specified in an *ini file, but not defined in the
        corresponding plugin module. This will raise an error when loaded.
    available but not on this system: Defined in `skimage.io._plugins`, but
        a dependent library (e.g. Qt, PIL) is not available on your system.
        This will raise an error when loaded.
    loaded: The real availability is determined when it's explicitly loaded,
        either because it's one of the default plugins, or because it's
        loaded explicitly by the user.

 N/A sys N/A N/A N/A N/A sys version startswith 3 N/A configparser ConfigParser N/A ConfigParser ConfigParser N/A os.path glob glob collection imread_collection_wrapper N/A __all__ N/A use_plugin call_plugin plugin_info plugin_order reset_plugins find_available_plugins available_plugins N/A plugin_store None N/A plugin_provides N/A N/A plugin_module_name N/A N/A plugin_meta_data N/A N/A preferred_plugins N/A all imshow imshow_collection N/A pil matplotlib qt freeimage N/A matplotlib N/A matplotlib _clear_plugins N/A N/A N/A N/A N/A Clear the plugin state to the default, i.e., where no plugins are loaded

     N/A plugin_store N/A plugin_store N/A imread imsave imshow imread_collection imshow_collection _app_show N/A N/A N/A N/A N/A N/A N/A N/A N/A _clear_plugins _load_preferred_plugins N/A N/A N/A N/A N/A io_types N/A imsave imshow imread_collection imshow_collection imread N/A p_type io_types N/A N/A N/A _set_plugin p_type N/A preferred_plugins N/A all N/A plugin_types N/A p N/A p N/A N/A preferred_plugins keys N/A p all N/A p_type plugin_types N/A N/A N/A _set_plugin p_type N/A preferred_plugins N/A p_type N/A _set_plugin N/A N/A plugin_type plugin_list N/A N/A N/A plugin plugin_list N/A N/A N/A plugin available_plugins N/A N/A N/A N/A N/A N/A use_plugin plugin kind plugin_type N/A N/A N/A N/A N/A ImportError RuntimeError OSError N/A N/A N/A reset_plugins N/A N/A N/A N/A N/A N/A _clear_plugins N/A N/A _load_preferred_plugins N/A _parse_config_file N/A N/A filename N/A N/A N/A Return plugin name and meta-data dict from plugin config file. N/A parser N/A ConfigParser N/A N/A N/A parser read filename N/A name N/A N/A N/A parser sections N/A 0 N/A meta_data N/A N/A opt N/A N/A parser options name N/A N/A N/A meta_data N/A opt N/A N/A parser get name opt N/A N/A name meta_data N/A _scan_plugins N/A N/A N/A N/A N/A Scan the plugins directory for .ini files and parse them
    to gather plugin meta-data.

     N/A pd N/A N/A N/A os path dirname __file__ N/A config_files N/A glob N/A N/A N/A os path join pd _plugins *.ini N/A filename config_files N/A N/A N/A name meta_data N/A _parse_config_file filename N/A N/A plugin_meta_data N/A name meta_data N/A provides N/A N/A N/A s strip N/A s N/A N/A N/A meta_data N/A provides split , N/A valid_provides N/A p N/A p provides N/A p plugin_store N/A p provides N/A N/A N/A N/A p plugin_store N/A N/A N/A Plugin `%s` wants to provide non-existent `%s`. Ignoring. N/A name p N/A need_to_add_collection N/A N/A imread_collection valid_provides N/A imread valid_provides N/A need_to_add_collection N/A N/A N/A N/A valid_provides append imread_collection N/A N/A plugin_provides N/A name valid_provides N/A N/A plugin_module_name N/A name N/A N/A N/A N/A os path basename filename N/A -4 N/A N/A N/A _scan_plugins find_available_plugins N/A N/A loaded N/A False N/A N/A List available plugins.

    Parameters
    ----------
    loaded : bool
        If True, show only those plugins currently loaded.  By default,
        all plugins are shown.

    Returns
    -------
    p : dict
        Dictionary with plugin names as keys and exposed functions as
        values.

     N/A active_plugins N/A set N/A plugin_func N/A N/A plugin_store values N/A N/A N/A plugin func plugin_func N/A N/A N/A N/A active_plugins add plugin N/A d N/A N/A plugin plugin_provides N/A N/A N/A N/A loaded N/A plugin active_plugins N/A N/A N/A d N/A plugin N/A f N/A f N/A plugin_provides N/A plugin N/A N/A N/A f startswith _ N/A d N/A N/A available_plugins N/A find_available_plugins call_plugin N/A N/A kind N/A args kwargs N/A N/A Find the appropriate plugin of 'kind' and execute it.

    Parameters
    ----------
    kind : {'imshow', 'imsave', 'imread', 'imread_collection'}
        Function to look up.
    plugin : str, optional
        Plugin to load.  Defaults to None, in which case the first
        matching plugin is used.
    *args, **kwargs : arguments and keyword arguments
        Passed to the plugin function.

     N/A N/A N/A kind plugin_store N/A N/A N/A ValueError N/A Invalid function (%s) requested. kind N/A plugin_funcs N/A plugin_store N/A kind N/A N/A N/A len plugin_funcs 0 N/A N/A msg No suitable plugin registered for %s.

You may load I/O plugins with the `skimage.io.use_plugin` command.  A list of all available plugins are shown in the `skimage.io` docstring. N/A N/A RuntimeError N/A msg kind N/A plugin N/A N/A kwargs pop plugin None N/A N/A plugin None N/A N/A N/A _ func N/A plugin_funcs N/A 0 N/A N/A N/A _load plugin N/A N/A N/A func N/A N/A f N/A N/A p f plugin_funcs N/A p plugin N/A 0 N/A N/A N/A IndexError N/A N/A N/A RuntimeError N/A Could not find the plugin "%s" for %s. N/A plugin kind N/A N/A func args kwargs N/A use_plugin N/A N/A name kind N/A None N/A N/A Set the default plugin for a specified operation.  The plugin
    will be loaded if it hasn't been already.

    Parameters
    ----------
    name : str
        Name of plugin.
    kind : {'imsave', 'imread', 'imshow', 'imread_collection', 'imshow_collection'}, optional
        Set the plugin for this function.  By default,
        the plugin is set for all functions.

    See Also
    --------
    available_plugins : List of available plugins

    Examples
    --------

    To use Matplotlib as the default image reader, you would write:

    >>> from skimage import io
    >>> io.use_plugin('matplotlib', 'imread')

    To see a list of available plugins run ``io.available_plugins``. Note that
    this lists plugins that are defined, but the full list may not be usable
    if your system does not have the required libraries installed.

     N/A N/A kind None N/A N/A kind N/A N/A plugin_store keys N/A N/A N/A N/A kind N/A plugin_provides N/A name N/A N/A N/A RuntimeError N/A Plugin %s does not support `%s`. N/A name kind N/A N/A kind imshow N/A N/A kind N/A kind _app_show N/A N/A kind N/A kind N/A N/A _load name N/A k kind N/A N/A N/A N/A k plugin_store N/A N/A N/A RuntimeError N/A '%s' is not a known plugin function. k N/A funcs N/A plugin_store N/A k N/A funcs N/A N/A N/A n f N/A N/A n f funcs N/A n name N/A N/A n f N/A N/A n f funcs N/A n name N/A N/A plugin_store N/A k funcs N/A _inject_imread_collection_if_needed N/A N/A module N/A N/A N/A Add `imread_collection` to module if not already present. N/A N/A N/A N/A hasattr module imread_collection N/A hasattr module imread N/A N/A imread N/A getattr module imread N/A func N/A imread_collection_wrapper imread N/A N/A setattr module imread_collection func N/A _load N/A N/A plugin N/A N/A N/A Load the given plugin.

    Parameters
    ----------
    plugin : str
        Name of plugin to load.

    See Also
    --------
    plugins : List of available plugins

     N/A N/A plugin N/A find_available_plugins loaded True N/A N/A N/A N/A N/A plugin plugin_module_name N/A N/A N/A ValueError N/A Plugin %s not found. plugin N/A N/A modname N/A plugin_module_name N/A plugin N/A plugin_module N/A __import__ N/A skimage.io._plugins. modname fromlist N/A modname N/A provides N/A plugin_provides N/A plugin N/A p provides N/A N/A N/A p imread_collection N/A N/A N/A _inject_imread_collection_if_needed plugin_module N/A N/A N/A N/A hasattr plugin_module p N/A N/A N/A Plugin %s does not provide %s as advertised.  Ignoring. N/A plugin p N/A N/A store N/A plugin_store N/A p N/A func N/A getattr plugin_module p N/A N/A N/A N/A plugin func store N/A N/A N/A N/A store append N/A plugin func N/A plugin_info N/A N/A plugin N/A N/A N/A Return plugin meta-data.

    Parameters
    ----------
    plugin : str
        Name of plugin.

    Returns
    -------
    m : dict
        Meta data as specified in plugin ``.ini``.

     N/A N/A N/A N/A plugin_meta_data N/A plugin N/A N/A N/A KeyError N/A N/A N/A ValueError N/A No information on plugin "%s" plugin N/A plugin_order N/A N/A N/A N/A N/A Return the currently preferred plugin order.

    Returns
    -------
    p : dict
        Dictionary of preferred plugin order, with function name as key and
        plugins (in order of preference) as value.

     N/A p N/A N/A func plugin_store N/A N/A N/A p N/A func N/A plugin_name N/A N/A plugin_name f N/A plugin_store N/A func N/A p N/A