class_docstr: The FormatManager is a singleton plugin factory.
  
  The format manager supports getting a format object using indexing (by
  format name or extension). When used as an iterator, this object
  yields all registered format objects.
  
  See also :func:`.help`.
class_docstr_tok: ["The","FormatManager","is","a","singleton","plugin","factory",".","The","format","manager","supports","getting","a","format","object","using","indexing","(","by","format","name","or","extension",")",".","When","used","as","an","iterator",",","this","object","yields","all","registered","format","objects",".","See","also",":","func",":","`",".help","`","."]
code: def _formats(self):
      available_formats = list()
  
      for config in known_plugins.values():
          with contextlib.suppress(ImportError):
              # if an exception is raised, then format not installed
              if config.is_legacy and config.format is not None:
                  available_formats.append(config)
  
      return available_formats
  
imports: import sys
  import warnings
  import contextlib
  import numpy
  from pathlib import Path
  from .None import Array, asarray
  from .request import ImageMode
  from ..config import known_plugins, known_extensions, PluginConfig, FileExtension
  from ..config.plugins import _original_order
  from .imopen import imopen
label_desc: Use image node_id 1 for calling the FormatManager obj's underlying member method code with example usage: obj._formats() and returns: available_formats