{ } Raw JSON

bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / io / manage_plugins / use_plugin

function

skimage.io.manage_plugins:use_plugin

source: /dev/scikit-image/src/skimage/io/manage_plugins.py :257

Signature

def   use_plugin ( name kind = None )

Summary

Set the default plugin for a specified operation. The plugin will be loaded if it hasn't been already.

Extended Summary

Parameters

name : str

Name of plugin. See skimage.io.available_plugins for a list of available plugins.

kind : {'imsave', 'imread', 'imshow', 'imread_collection', 'imshow_collection'}, optional

Set the plugin for this function. By default, the plugin is set for all functions.

Examples

To use Matplotlib as the default image reader, you would write:
from skimage import io
To see a list of available plugins run ``skimage.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.

Aliases

  • skimage.io.use_plugin