code: def reset(self):
          
          animation_gen = self._frame_function(*self._animation_args,
                                               **self._animation_kwargs)
          self._current_generator = itertools.cycle(
              util.concatechain(animation_gen, self._back_up_generator))
docs: Reset the current animation generator.