From 4a00161beece64a3d0a102daf711ad6ea4f79a1b Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Thu, 14 Feb 2019 11:34:55 -0800 Subject: [PATCH] Fixed NumberPlane --- manimlib/mobject/coordinate_systems.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/manimlib/mobject/coordinate_systems.py b/manimlib/mobject/coordinate_systems.py index 75fa60af..6d9a5afb 100644 --- a/manimlib/mobject/coordinate_systems.py +++ b/manimlib/mobject/coordinate_systems.py @@ -287,7 +287,6 @@ class NumberPlane(Axes): def get_lines_parallel_to_axis(self, axis1, axis2, freq, ratio): line = Line(axis1.get_start(), axis1.get_end()) - vect = line.get_vector() dense_freq = (1 + ratio) step = 1 / dense_freq @@ -301,7 +300,6 @@ class NumberPlane(Axes): for k, x in enumerate(inputs): new_line = line.copy() new_line.move_to(axis2.number_to_point(x)) - new_line.align_to(line, vect) if k % (1 + ratio) == 0: lines1.add(new_line) else: