diff options
author | Vaishnavi | 2020-06-24 00:44:00 +0530 |
---|---|---|
committer | GitHub | 2020-06-24 00:44:00 +0530 |
commit | ad1c0e62ba7ff5bb9612a8fd674005a26e3fd80b (patch) | |
tree | fb3136fb07db3dc1a52b0d72ae21fc0380fc71a3 /FSF-2020/approximations-and-optimizations/Critical-Points | |
parent | a0755ea6df7e229196cffb64c8f04efeea0601a7 (diff) | |
download | FSF-mathematics-python-code-archive-ad1c0e62ba7ff5bb9612a8fd674005a26e3fd80b.tar.gz FSF-mathematics-python-code-archive-ad1c0e62ba7ff5bb9612a8fd674005a26e3fd80b.tar.bz2 FSF-mathematics-python-code-archive-ad1c0e62ba7ff5bb9612a8fd674005a26e3fd80b.zip |
Update file2_Traces_and_Tangent.py
Diffstat (limited to 'FSF-2020/approximations-and-optimizations/Critical-Points')
-rw-r--r-- | FSF-2020/approximations-and-optimizations/Critical-Points/file2_Traces_and_Tangent.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/FSF-2020/approximations-and-optimizations/Critical-Points/file2_Traces_and_Tangent.py b/FSF-2020/approximations-and-optimizations/Critical-Points/file2_Traces_and_Tangent.py index 95c3af9..4b020e1 100644 --- a/FSF-2020/approximations-and-optimizations/Critical-Points/file2_Traces_and_Tangent.py +++ b/FSF-2020/approximations-and-optimizations/Critical-Points/file2_Traces_and_Tangent.py @@ -6,8 +6,8 @@ class firstScene(ThreeDScene): def construct(self): axes = ThreeDAxes().scale(1) - label_x= TextMobject("$x$").shift([5.8,-0.5,0]) - label_y= TextMobject("$y$").shift([-0.5,-5.6,0]).rotate(-4.5) + label_x = TextMobject("$x$").shift([5.8,-0.5,0]) + label_y = TextMobject("$y$").shift([-0.5,-5.6,0]).rotate(-4.5) #---- graph of f(x,y) = -x^2-y^2 surface = ParametricSurface( @@ -50,8 +50,8 @@ class secondScene(ThreeDScene): def construct(self): axes = ThreeDAxes().scale(1) - label_x= TextMobject("$x$").shift([5.8,-0.5,0]) - label_y= TextMobject("$y$").shift([-0.5,-5.6,0]).rotate(-4.5) + label_x = TextMobject("$x$").shift([5.8,-0.5,0]) + label_y = TextMobject("$y$").shift([-0.5,-5.6,0]).rotate(-4.5) #---- graph of f(x,y) = -x^2-y^2 surface = ParametricSurface( |