diff --git a/manim/scene/zoomed_scene.py b/manim/scene/zoomed_scene.py index 57c89b1ad6..0a162c1fac 100644 --- a/manim/scene/zoomed_scene.py +++ b/manim/scene/zoomed_scene.py @@ -155,6 +155,13 @@ def activate_zooming(self, animate: bool = False) -> None: self.zoomed_display, ) + def deactivate_zooming(self) -> None: + """This method is used to deactivate the zooming for the zoomed_camera.""" + self.remove( + self.zoomed_camera.frame, + self.zoomed_display, + ) + def get_zoom_in_animation(self, run_time: float = 2, **kwargs: Any) -> ApplyMethod: """Returns the animation of camera zooming in.