def METHOD_NAME(self, **kwargs):
    # We defer this import to this call site to prevent the import
    # from hanging. See #18323.
    import matplotlib.animation as animation
    ani = animation.FuncAnimation(fig=self.fig,
                                  func=self._draw_recorded_frame,
                                  frames=len(self._recorded_contexts),
                                  interval=1000*self.time_step,
                                  **kwargs)
    return ani