mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 04:53:34 +08:00
Explicit tuple required in comprehension in Python 3
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
|
||||
from big_ol_pile_of_manim_imports import *
|
||||
|
||||
from tqdm import tqdm as ProgressDisplay
|
||||
@ -219,7 +218,7 @@ class PhotonsThroughPerpendicularFilters(PhotonPassesCompletelyOrNotAtAll):
|
||||
color = here.get_color(),
|
||||
normal_vector = DOWN+OUT,
|
||||
)
|
||||
for here, x in (here1, 0), (here2, 4)
|
||||
for here, x in ((here1, 0), (here2, 4))
|
||||
]
|
||||
prob_text.add(*arrows)
|
||||
|
||||
@ -2454,19 +2453,3 @@ class NoFirstMeasurementPreferenceBasedOnDirection(ShowVariousFilterPairs):
|
||||
)
|
||||
self.add_foreground_mobject(all_pre_lines)
|
||||
self.wait(7)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user