Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fix position of labels on the y-axis

Guillermo Garza528e2d319545
diff --git a/manimlib/scene/graph_scene.py b/manimlib/scene/graph_scene.py
index dcfa759cc..88616b8f6 100644
--- a/manimlib/scene/graph_scene.py
+++ b/manimlib/scene/graph_scene.py
@@ -109,6 +109,7 @@ class GraphScene(Scene):
numbers_with_elongated_ticks=self.y_labeled_nums,
color=self.axes_color,
line_to_number_vect=LEFT,
+ label_direction=LEFT,
)
y_axis.shift(self.graph_origin - y_axis.number_to_point(0))
y_axis.rotate(np.pi / 2, about_point=y_axis.number_to_point(0))