'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.'

def grab_frame(self, **savefig_kwargs):

    verbose.report(u'MovieWriter.grab_frame:    Grabbing    frame.', level=u'debug')
    try:
        with self._frame_sink() as myframesink:
            self.fig.savefig(myframesink, format=self.frame_format, dpi=self.dpi, **savefig_kwargs)
    except RuntimeError:
        (out, err) = self._proc.communicate()
        verbose.report((u'MovieWriter    --    Error    running    proc:\n%s\n%s' % (out, err)), level=u'helpful')
        raise
