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","``"]
docstr: Grab the image information from the figure and save as a movie frame.
  All keyword arguments in savefig_kwargs are passed on to the 'savefig'
  command that saves the figure.
docstr_tok: ["Grab","the","image","information","from","the","figure","and","save","as","a","movie","frame",".","All","keyword","arguments","in","savefig_kwargs","are","passed","on","to","the","'savefig'","command","that","saves","the","figure","."]
code: def grab_frame(self, **savefig_kwargs):
      """
      Grab the image information from the figure and save as a movie frame.
      All keyword arguments in savefig_kwargs are passed on to the 'savefig'
      command that saves the figure.
      """
  
      # Tell the figure to save its data to the sink, using the
      # frame format and dpi.
      with self._frame_sink() as myframesink:
          self.fig.savefig(
              myframesink,
              format=self.frame_format,
              dpi=self.dpi,
              **savefig_kwargs,
          )
  
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 3 for calling the BunchOFiles obj's underlying member method code with example usage: obj.grab_frame() without return types