Skip to content

Commit b82aa84

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

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/source/examples/plots_examples.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@ Examples to illustrate the use of GrapheScenes in Manim
120120
self.setup_axes(animate=False)
121121
curve1 = self.get_graph(lambda x : 4*x-x**2, x_min=0,x_max=4)
122122
curve2 = self.get_graph(lambda x : 0.8*x**2-3*x+4, x_min=0,x_max=4)
123-
line1 = self.get_vertical_line_to_graph(2,curve1,DashedLine,color=YELLOW)
124-
line2 = self.get_vertical_line_to_graph(3,curve1,DashedLine,color=YELLOW)
125-
area1 = self.get_area(curve1,0.3,0.6, dx_scaling=10, area_color=BLUE)
126-
area2 = self.get_area(curve2,2,3,bounded=curve1)
127-
self.add(curve1,curve2,line1,line2,area1,area2)
123+
line1 = self.get_vertical_line_to_graph(2, curve1, DashedLine, color=YELLOW)
124+
line2 = self.get_vertical_line_to_graph(3, curve1, DashedLine, color=YELLOW)
125+
area1 = self.get_area(curve1, 0.3, 0.6, dx_scaling=10, area_color=BLUE)
126+
area2 = self.get_area(curve2, 2, 3, bounded=curve1)
127+
self.add(curve1, curve2, line1, line2, area1, area2)
128128

129129
.. manim:: Plot6HeatDiagram
130130
:quality: medium

0 commit comments

Comments
 (0)