summaryrefslogtreecommitdiff
path: root/FSF-2020/calculus-of-several-variables/integrals-of-multivariable-functions/fundamental-theorem-of-line-integral
diff options
context:
space:
mode:
authorSomnath Pandit2020-06-14 20:16:47 +0530
committerSomnath Pandit2020-06-14 20:16:47 +0530
commita1eb4e61987d5c7cc9108ac110f832fd791c216f (patch)
treeb402b5a25c78d4424cf9463e61ea79a0fb2eb432 /FSF-2020/calculus-of-several-variables/integrals-of-multivariable-functions/fundamental-theorem-of-line-integral
parent5e27333898ff223d6fc52cd481207d4fb7bedb19 (diff)
downloadFSF-mathematics-python-code-archive-a1eb4e61987d5c7cc9108ac110f832fd791c216f.tar.gz
FSF-mathematics-python-code-archive-a1eb4e61987d5c7cc9108ac110f832fd791c216f.tar.bz2
FSF-mathematics-python-code-archive-a1eb4e61987d5c7cc9108ac110f832fd791c216f.zip
refined
Diffstat (limited to 'FSF-2020/calculus-of-several-variables/integrals-of-multivariable-functions/fundamental-theorem-of-line-integral')
-rw-r--r--FSF-2020/calculus-of-several-variables/integrals-of-multivariable-functions/fundamental-theorem-of-line-integral/file1_grad_of_scalar_function.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/FSF-2020/calculus-of-several-variables/integrals-of-multivariable-functions/fundamental-theorem-of-line-integral/file1_grad_of_scalar_function.py b/FSF-2020/calculus-of-several-variables/integrals-of-multivariable-functions/fundamental-theorem-of-line-integral/file1_grad_of_scalar_function.py
index c9f479c..50e850f 100644
--- a/FSF-2020/calculus-of-several-variables/integrals-of-multivariable-functions/fundamental-theorem-of-line-integral/file1_grad_of_scalar_function.py
+++ b/FSF-2020/calculus-of-several-variables/integrals-of-multivariable-functions/fundamental-theorem-of-line-integral/file1_grad_of_scalar_function.py
@@ -165,6 +165,7 @@ class GradOfScalar(ThreeDScene):
config.update(self.default_vector_field_config)
config.update(kwargs)
vector_field= VectorField(func,**config)
+ vector_field.move_to(self.axes.c2p(0,0,0))
self.vector_field=vector_field
if on_surface:
@@ -175,10 +176,8 @@ class GradOfScalar(ThreeDScene):
def get_vectors_on_surface(self):
- config = dict()
- config.update(self.default_vector_field_config["vector_config"])
vectors_on_surface = VGroup(*[
- self.vector_field.get_vector(point,**config)
+ self.vector_field.get_vector(point)
for point in self.surface_points
])