Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Small changes to LinearTransformationScene

Grant Sandersond0b2d8ee5e5d
diff --git a/manimlib/scene/vector_space_scene.py b/manimlib/scene/vector_space_scene.py
index 8b55e7332..cd1c8dd4f 100644
--- a/manimlib/scene/vector_space_scene.py
+++ b/manimlib/scene/vector_space_scene.py
@@ -287,6 +287,9 @@ class LinearTransformationScene(VectorScene):
},
"background_plane_kwargs": {
"color": GREY,
+ "axis_config": {
+ "stroke_color": LIGHT_GREY,
+ },
"number_line_config": {
"color": GREY,
},
@@ -358,7 +361,7 @@ class LinearTransformationScene(VectorScene):
self.add_special_mobjects(self.moving_mobjects, mobject)
def get_unit_square(self, color=YELLOW, opacity=0.3, stroke_width=3):
- square = Rectangle(
+ square = self.square = Rectangle(
color=color,
width=self.plane.get_x_unit_size(),
height=self.plane.get_y_unit_size(),