code: def _create_formatters(formatters_spec):
      result = {}
      for cls, kwargs in formatters_spec.items():
          formatter = NotebookFormatter(cls, **kwargs)
          result[cls] = formatter
      return result
  
file_path: tfx/tfx/orchestration/experimental/interactive/notebook_formatters.py
imports: import builtins
  import html
  from typing import Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union
  from tfx.dsl.components.base.base_component import BaseComponent
  from tfx.orchestration.experimental.interactive.execution_result import ExecutionResult
  from tfx.types.artifact import Artifact
  from tfx.types.channel import Channel
label_desc: Use image node_id 1 for calling a global function with example usage: _create_formatters(formatters_spec) and returns: result