code: def snapshot_mpld3_plots_consecutive(plot_filenames, output_folder):
      assert output_folder, "output_folder is required"
      if not os.path.exists(output_folder):
          os.makedirs(output_folder)
      results = []
      for plot_filename in plot_filenames:
          results.append(
              snapshot_mpld3_plot(
                  plot_filename, output_folder=output_folder
              )
          )
      return results
  
file_path: mpld3/mpld3/tests/export.py
imports: import uuid
  import subprocess
  import mpld3
  import multiprocessing
  import os
  import diffimg
  import visualize_tests
  from functools import partial
label_desc: Use image node_id 5 for calling a global function with example usage: snapshot_mpld3_plots_consecutive(plot_filenames, output_folder) and returns: results