A community-maintained Python framework for creating mathematical animations.
Small bug fixes to NumberPlane
Grant Sandersond8896e299e8b
diff --git a/manimlib/mobject/coordinate_systems.py b/manimlib/mobject/coordinate_systems.pyindex 6d9a5afb0..b3d2cc356 100644--- a/manimlib/mobject/coordinate_systems.py+++ b/manimlib/mobject/coordinate_systems.py@@ -288,7 +288,7 @@ class NumberPlane(Axes):def get_lines_parallel_to_axis(self, axis1, axis2, freq, ratio):line = Line(axis1.get_start(), axis1.get_end())dense_freq = (1 + ratio)- step = 1 / dense_freq+ step = (1 / dense_freq) * freqlines1 = VGroup()lines2 = VGroup()@@ -336,6 +336,7 @@ class NumberPlane(Axes):axis.get_edge_center(edge), direction,buff=buff)+ label.shift_onto_screen(buff=MED_SMALL_BUFF)return labeldef get_axis_labels(self, x_label_tex="x", y_label_tex="y"):