code: def _load_preferred_plugins():
      # Load preferred plugin for each io function.
      io_types = [
          "imsave",
          "imshow",
          "imread_collection",
          "imshow_collection",
          "imread",
      ]
      for p_type in io_types:
          _set_plugin(p_type, preferred_plugins["all"])
  
      plugin_types = (p for p in preferred_plugins.keys() if p != "all")
      for p_type in plugin_types:
          _set_plugin(p_type, preferred_plugins[p_type])
  
file_path: scikit-image/skimage/io/manage_plugins.py
imports: import os.path
  import warnings
  from configparser import ConfigParser
  from glob import glob
  from .collection import imread_collection_wrapper
label_desc: Use image node_id 2 for calling a global function with example usage: _load_preferred_plugins() without return types