mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
buf fix with get_lines_parallel_to_axis
This commit is contained in:
parent
33fa76dfac
commit
c726eb7a18
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue