mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 22:47:45 +00:00
Explicit tuple required in comprehension in Python 3
This commit is contained in:
parent
4d97eb9643
commit
88c83ac884
1 changed files with 3 additions and 59 deletions
|
|
@ -396,7 +396,7 @@ class SlopeOfCircleExample(ZoomedScene):
|
|||
equation[1][i].copy(),
|
||||
derivative[j],
|
||||
)
|
||||
for i, j in (1, 0), (0, 1)
|
||||
for i, j in ((1, 0), (0, 1))
|
||||
]
|
||||
)
|
||||
self.play(Write(dx, run_time = 1))
|
||||
|
|
@ -406,7 +406,7 @@ class SlopeOfCircleExample(ZoomedScene):
|
|||
equation[1][i].copy(),
|
||||
derivative[j],
|
||||
)
|
||||
for i, j in (2, 4), (3, 6), (4, 5)
|
||||
for i, j in ((2, 4), (3, 6), (4, 5))
|
||||
])
|
||||
self.play(Write(dy, run_time = 1))
|
||||
self.play(Blink(morty))
|
||||
|
|
@ -415,7 +415,7 @@ class SlopeOfCircleExample(ZoomedScene):
|
|||
equation[1][i].copy(),
|
||||
derivative[j],
|
||||
)
|
||||
for i, j in (-3, -2), (-2, -1), (-1, -1)
|
||||
for i, j in ((-3, -2), (-2, -1), (-1, -1))
|
||||
])
|
||||
self.wait()
|
||||
|
||||
|
|
@ -2668,60 +2668,4 @@ class Thumbnail(AlternateExample):
|
|||
self.draw_graph()
|
||||
self.graphs.set_stroke(width = 8)
|
||||
self.remove(self.formula)
|
||||
|
||||
|
||||
self.add(title)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue