code: def list_images(path):
      """
      List the associated files for the given test path
      """
      # Get contents of directories
      bases = set(glob.glob(os.path.join(BASELINE, path, "*.png")))
      actual = set(glob.glob(os.path.join(ACTUAL, path, "*.png")))
      diffs = set(
          glob.glob(os.path.join(ACTUAL, path, "*-failed-diff.png"))
      )
  
      # Dedupe actual and diffs
      actual -= diffs
  
      # Get test file names without parent dirs
      names = set(map(os.path.basename, bases)) | set(
          map(os.path.basename, actual)
      )
  
      # Build listing
      output = []
  
      for name in names:
          bname, bext = os.path.splitext(name)
  
          output.append(bname)
          output.append("-" * len(bname))
  
          # Handle base path
          base_path = os.path.join(BASELINE, path, name)
          if base_path in bases:
              output.append("  - {}".format(os.path.relpath(base_path)))
          else:
              output.append("  - no baseline image")
  
          # Handle actual path
          actual_path = os.path.join(ACTUAL, path, name)
          if actual_path in actual:
              output.append(
                  "  - {}".format(os.path.relpath(actual_path))
              )
          else:
              output.append("  - no actual image")
  
          # Handle diff path
          diff_path = os.path.join(
              ACTUAL, path, "{}-failed-diff{}".format(bname, bext)
          )
          if diff_path in diffs:
              output.append("  - {}".format(os.path.relpath(diff_path)))
  
          # Add breathing room
          output.append("")
  
      return "\n".join(output)
  
file_path: yellowbrick/tests/images.py
imports: import os
  import glob
  import shutil
  import argparse
label_desc: Use image node_id 4 for calling a global function with example usage: list_images(path) and returns: str