diff --git a/active_projects/eola2/determinant_puzzle.py b/active_projects/eola2/determinant_puzzle.py index 6f335463..aeda8480 100644 --- a/active_projects/eola2/determinant_puzzle.py +++ b/active_projects/eola2/determinant_puzzle.py @@ -98,7 +98,7 @@ class WorkOutNumerically(Scene): non_numbers = VGroup(*[m for m in det if m not in numbers]) matrix_numbers = VGroup(*[ matrix.mob_matrix[i][j].copy() - for i, j in (0, 0), (1, 1), (0, 1), (1, 0) + for i, j in ((0, 0), (1, 1), (0, 1), (1, 0)) ]) self.play( LaggedStart(FadeIn, non_numbers, run_time=1), diff --git a/active_projects/eop/bayes.py b/active_projects/eop/bayes.py index 0ffd0bdc..bbf62642 100644 --- a/active_projects/eop/bayes.py +++ b/active_projects/eop/bayes.py @@ -1010,7 +1010,7 @@ class UpdatePokerPrior(SampleSpaceScene): "P(", s, self.double_heart_template, ")", "= ", num ) - for s, num in ("", p_str), ("\\text{not }", q_str) + for s, num in (("", p_str), ("\\text{not }", q_str)) ] for label in labels: label.scale(0.7) diff --git a/active_projects/eop/bayes_footnote.py b/active_projects/eop/bayes_footnote.py index 98137182..841ad8a2 100644 --- a/active_projects/eop/bayes_footnote.py +++ b/active_projects/eop/bayes_footnote.py @@ -486,7 +486,7 @@ class TryUnitSquareVisual(SampleSpaceScene): TexMobject("P(\\text{Disease})", s1), TexMobject("P(\\text{Not disease})", s2), ).scale(0.7) - for s1, s2 in ("", ""), ("= 0.001", "= 0.999") + for s1, s2 in (("", ""), ("= 0.001", "= 0.999")) ] sample_space.get_side_braces_and_labels(initial_labels) sample_space.add_braces_and_labels()