class_docstr: Exports an animation to a series of images.
  
  called like:
  ``anim.save('name.format', writer=BunchOFiles())``
  which produces a series of files named ``name{num}.format``
class_docstr_tok: ["Exports","an","animation","to","a","series","of","images",".","called","like",":","``","anim.save","(","'name.format","'",",","writer=BunchOFiles","(",")",")","``","which","produces","a","series","of","files","named","``","name","{","num","}",".format","``"]
code: def setup(self, fig, dpi, frame_prefix):
      super().setup(fig, dpi, frame_prefix, clear_temp=False)
      self.fname_format_str = "%s%%d.%s"
      self.temp_prefix, self.frame_format = self.outfile.split(".")
  
file_path: animatplot/tests/tools.py
imports: import os
  from os.path import join, split
  import functools
  import pytest
  import matplotlib.pyplot
  from matplotlib.animation import FileMovieWriter
  from matplotlib.testing.compare import compare_images
  from matplotlib.testing.decorators import remove_ticks_and_titles
  from matplotlib.testing.exceptions import ImageComparisonFailure
label_desc: Use image node_id 2 for calling the BunchOFiles obj's underlying member method code with example usage: obj.setup(fig, dpi, frame_prefix) without return types