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 e34d119 commit 8b64e6fCopy full SHA for 8b64e6f
docs/source/examples/plots_examples.rst
@@ -11,8 +11,7 @@ Examples to illustrate the use of GrapheScenes in Manim
11
class Plot1(GraphScene):
12
def construct(self):
13
self.setup_axes()
14
- my_func = lambda x: np.sin(x)
15
- func_graph=self.get_graph(my_func)
+ func_graph=self.get_graph(lambda x: np.sin(x))
16
self.add(func_graph)
17
18
.. manim:: Plot2yLabel
@@ -173,4 +172,4 @@ This is an parametric function
173
172
return np.array((np.sin(2*t), np.sin(3*t),0))
174
175
func=ParametricFunction(self.func, t_max=TAU, fill_opacity=0).set_color(RED)
176
- self.add(func.scale(3))
+ self.add(func.scale(3))
0 commit comments