code: def _load_baseline_images(filenames, fmt="json"):
      baseline_folder = Path(__file__).parent / "baseline_images"
  
      images = []
      for fn in filenames:
          fn_abs = baseline_folder / f"{fn}.{fmt}"
          image = _load_baseline_image(fn_abs, fmt)
          images.append(image)
      return images
  
file_path: python-igraph/tests/drawing/plotly/utils.py
imports: from pathlib import Path
  import sys
  import inspect
  import functools
label_desc: Use image node_id 3 for calling a global function with example usage: _load_baseline_images(filenames, fmt) and returns: images