def _replace_keyframe_callback(self, event=None):
    'Replace current key-frame with new view'
    self.animation.capture_keyframe(steps=self._get_interpolation_steps(), ease=self._get_easing_function(), insert=False)
    self.animationsliderWidget.requires_update = True
Replace current key-frame with new view
def _replace_keyframe_callback(self, event=None):
    
    self.animation.capture_keyframe(steps=self._get_interpolation_steps(), ease=self._get_easing_function(), insert=False)
    self.animationsliderWidget.requires_update = True