From 4c42083ffc4924362a82bc0baab8b9783800f900 Mon Sep 17 00:00:00 2001 From: Italos Estilon de Souza Date: Wed, 7 Oct 2020 11:52:05 -0300 Subject: [PATCH] fix iteration through a dictionary --- manimlib/for_3b1b_videos/common_scenes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manimlib/for_3b1b_videos/common_scenes.py b/manimlib/for_3b1b_videos/common_scenes.py index da83fbb4..11fa5999 100644 --- a/manimlib/for_3b1b_videos/common_scenes.py +++ b/manimlib/for_3b1b_videos/common_scenes.py @@ -74,7 +74,7 @@ class OpeningQuote(Scene): if self.quote_arg_separator == " ": quote[0].shift(0.2 * RIGHT) quote[-1].shift(0.2 * LEFT) - for term, color in self.highlighted_quote_terms: + for term, color in self.highlighted_quote_terms.items(): quote.set_color_by_tex(term, color) quote.to_edge(UP, buff=self.top_buff) if quote.get_width() > max_width: