mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 22:03:01 +08:00
Rename SPACE_X_RADIUS to FRAME_X_RADIUS, and added constant FRAME_WIDTH (likewise for all y-coordinate information)
This commit is contained in:
@ -188,7 +188,7 @@ class GraphScene(Scene):
|
||||
#Search from right to left
|
||||
for x in np.linspace(self.x_max, self.x_min, 100):
|
||||
point = self.input_to_graph_point(x, graph)
|
||||
if point[1] < SPACE_Y_RADIUS:
|
||||
if point[1] < FRAME_Y_RADIUS:
|
||||
break
|
||||
x_val = x
|
||||
label.next_to(
|
||||
|
Reference in New Issue
Block a user