From c726eb7a180b669ee81a18555112de26a8aff6d6 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Mon, 11 Oct 2021 06:22:05 -0700 Subject: [PATCH] buf fix with get_lines_parallel_to_axis --- manimlib/mobject/coordinate_systems.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manimlib/mobject/coordinate_systems.py b/manimlib/mobject/coordinate_systems.py index 4d3a7840..3ec1763c 100644 --- a/manimlib/mobject/coordinate_systems.py +++ b/manimlib/mobject/coordinate_systems.py @@ -133,6 +133,7 @@ class CoordinateSystem(): **kwargs ) graph.underlying_function = function + graph.x_range = x_range return graph def get_parametric_curve(self, function, **kwargs): @@ -449,7 +450,7 @@ class NumberPlane(Axes): return lines1, lines2 def get_lines_parallel_to_axis(self, axis1, axis2): - freq = axis1.x_step + freq = axis2.x_step ratio = self.faded_line_ratio line = Line(axis1.get_start(), axis1.get_end()) dense_freq = (1 + ratio)