A community-maintained Python framework for creating mathematical animations.
Fixed configuration of VectorSpaceScene
Grant Sanderson4451e9a26582
diff --git a/manimlib/scene/vector_space_scene.py b/manimlib/scene/vector_space_scene.pyindex 3ce50a643..8b55e7332 100644--- a/manimlib/scene/vector_space_scene.py+++ b/manimlib/scene/vector_space_scene.py@@ -279,15 +279,21 @@ class LinearTransformationScene(VectorScene):"include_background_plane": True,"include_foreground_plane": True,"foreground_plane_kwargs": {- "x_radius": FRAME_WIDTH,- "y_radius": FRAME_HEIGHT,- "secondary_line_ratio": 0+ "x_max": FRAME_WIDTH / 2,+ "x_min": -FRAME_WIDTH / 2,+ "y_max": FRAME_WIDTH / 2,+ "y_min": -FRAME_WIDTH / 2,+ "faded_line_ratio": 0},"background_plane_kwargs": {"color": GREY,- "secondary_color": DARK_GREY,- "axes_color": GREY,- "stroke_width": 2,+ "number_line_config": {+ "color": GREY,+ },+ "background_line_style": {+ "stroke_color": GREY,+ "stroke_width": 1,+ },},"show_coordinates": False,"show_basis_vectors": True,@@ -433,8 +439,8 @@ class LinearTransformationScene(VectorScene):return lambda point: np.dot(point, transposed_matrix)def get_piece_movement(self, pieces):- start = VMobject(*pieces)- target = VMobject(*[mob.target for mob in pieces])+ start = VGroup(*pieces)+ target = VGroup(*[mob.target for mob in pieces])if self.leave_ghost_vectors:self.add(start.copy().fade(0.7))return Transform(start, target, lag_ratio=0)