Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Update docs/source/examples/plots_examples.rst

kolibril135e6efe51ae05
diff --git a/docs/source/examples/plots_examples.rst b/docs/source/examples/plots_examples.rst
index 62d1c48a4..c846c2d86 100644
--- a/docs/source/examples/plots_examples.rst
+++ b/docs/source/examples/plots_examples.rst
@@ -114,7 +114,7 @@ Examples to illustrate the use of :class:`.GraphScene` in manim.
vert_line = self.get_vertical_line_to_graph(TAU, func_graph, color=YELLOW)
graph_lab = self.get_graph_label(func_graph, label="\\cos(x)")
graph_lab2 = self.get_graph_label(func_graph2, label="\\sin(x)", x_val=-10, direction=UP / 2)
- two_pi = TexMobject("x = 2 \\pi")
+ two_pi = MathTex(r"x = 2 \pi")
label_coord = self.input_to_graph_point(TAU, func_graph)
two_pi.next_to(label_coord, RIGHT + UP)
self.add(func_graph, func_graph2, vert_line, graph_lab, graph_lab2, two_pi)