Skip to content

Commit 8b64e6f

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

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/source/examples/plots_examples.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ Examples to illustrate the use of GrapheScenes in Manim
1111
class Plot1(GraphScene):
1212
def construct(self):
1313
self.setup_axes()
14-
my_func = lambda x: np.sin(x)
15-
func_graph=self.get_graph(my_func)
14+
func_graph=self.get_graph(lambda x: np.sin(x))
1615
self.add(func_graph)
1716

1817
.. manim:: Plot2yLabel
@@ -173,4 +172,4 @@ This is an parametric function
173172
return np.array((np.sin(2*t), np.sin(3*t),0))
174173
def construct(self):
175174
func=ParametricFunction(self.func, t_max=TAU, fill_opacity=0).set_color(RED)
176-
self.add(func.scale(3))
175+
self.add(func.scale(3))

0 commit comments

Comments
 (0)