We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b64e6f commit 604dff2Copy full SHA for 604dff2
docs/source/examples/plots_examples.rst
@@ -28,10 +28,8 @@ Examples to illustrate the use of GrapheScenes in Manim
28
29
def construct(self):
30
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)
+ dot = Dot().move_to(self.coords_to_point(PI / 2, 20))
+ func_graph = self.get_graph(lambda x: 20 * np.sin(x))
35
self.add(func_graph)
36
self.add(dot)
37
0 commit comments