Skip to content

Commit 604dff2

Browse files
kolibril13leotrs
andauthored
Update docs/source/examples/plots_examples.rst
Co-authored-by: Leo Torres <[email protected]>
1 parent 8b64e6f commit 604dff2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/source/examples/plots_examples.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,8 @@ Examples to illustrate the use of GrapheScenes in Manim
2828

2929
def construct(self):
3030
self.setup_axes(animate=True)
31-
dot = Dot()
32-
dot.move_to(self.coords_to_point(PI / 2, 20))
33-
my_func = lambda x: 20 * np.sin(x)
34-
func_graph = self.get_graph(my_func)
31+
dot = Dot().move_to(self.coords_to_point(PI / 2, 20))
32+
func_graph = self.get_graph(lambda x: 20 * np.sin(x))
3533
self.add(func_graph)
3634
self.add(dot)
3735

0 commit comments

Comments
 (0)