mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 21:12:35 +08:00
updated some breaking scenes to python3
This commit is contained in:
@ -3483,7 +3483,7 @@ class KeeperAndSailor(DistanceProductScene, PiCreatureScene):
|
||||
anims += [
|
||||
MoveToTarget(part)
|
||||
for pi in self.observers
|
||||
for part in pi, pi.dot, pi.title
|
||||
for part in [pi, pi.dot, pi.title]
|
||||
]
|
||||
|
||||
anims += added_anims
|
||||
@ -4908,7 +4908,7 @@ class KeeperAndSailorForSineProduct(KeeperAndSailor):
|
||||
FadeOut(product_lines),
|
||||
*[
|
||||
ReplacementTransform(product[i], one_minus_f_over_k[j])
|
||||
for i, j in (3, 1), (4, 2), (5, 3), (2, 4), (1, 5)
|
||||
for i, j in [(3, 1), (4, 2), (5, 3), (2, 4), (1, 5)]
|
||||
]
|
||||
)
|
||||
self.wait()
|
||||
|
Reference in New Issue
Block a user