summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVaishnavi2020-06-24 02:44:28 +0530
committerGitHub2020-06-24 02:44:28 +0530
commit1a3fcb648c8be25ff2a21833c532330be6c5238c (patch)
treec367f3775bbd55139ae9dfb5d5d16fc5ff3348cd
parent14a06e6bf4ed8a5a661555f193ba145fe8121b86 (diff)
downloadFSF-mathematics-python-code-archive-1a3fcb648c8be25ff2a21833c532330be6c5238c.tar.gz
FSF-mathematics-python-code-archive-1a3fcb648c8be25ff2a21833c532330be6c5238c.tar.bz2
FSF-mathematics-python-code-archive-1a3fcb648c8be25ff2a21833c532330be6c5238c.zip
Update file4_Contour_Diagram.py
-rw-r--r--FSF-2020/approximations-and-optimizations/The-Second-Derivative-Test/file4_Contour_Diagram.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/FSF-2020/approximations-and-optimizations/The-Second-Derivative-Test/file4_Contour_Diagram.py b/FSF-2020/approximations-and-optimizations/The-Second-Derivative-Test/file4_Contour_Diagram.py
index 618dcbd..d3084e2 100644
--- a/FSF-2020/approximations-and-optimizations/The-Second-Derivative-Test/file4_Contour_Diagram.py
+++ b/FSF-2020/approximations-and-optimizations/The-Second-Derivative-Test/file4_Contour_Diagram.py
@@ -50,8 +50,7 @@ class ContourDiagram(ThreeDScene):
np.cos(TAU * v),
np.sin(TAU * v),
2*(1 - 1.5*u)
- ]),
- resolution=(6, 32)).fade(0.5).scale(0.61).shift([0,0,0.4]).set_color(YELLOW)
+ ])).fade(0.5).scale(0.61).shift([0,0,0.4]).set_color(YELLOW)
#---- third contour line
c_3 = Circle(color = YELLOW).scale(0.61).shift([0,0,0])
@@ -111,7 +110,7 @@ class ContourDiagram(ThreeDScene):
self.wait(1)
self.play(Write(c_5))
self.wait(1)
- self.play(FadeOut(contour5),FadeOut(axes),FadeOut(f),FadeOut(contour5),FadeOut(contour4),FadeOut(contour3),FadeOut(contour2),FadeOut(contour1))
+ self.play(FadeOut(contour5),FadeOut(axes),FadeOut(label_x),FadeOut(label_y),FadeOut(surface),FadeOut(contour5),FadeOut(contour4),FadeOut(contour3),FadeOut(contour2),FadeOut(contour1))
self.wait(1)
self.move_camera(phi=0 * DEGREES,theta= 90*DEGREES)
self.wait(1)