From c2c18f10d6dc3595a3801065dfdca32f04efe352 Mon Sep 17 00:00:00 2001 From: ViperEkura <3081035982@qq.com> Date: Thu, 7 May 2026 23:08:16 +0800 Subject: [PATCH] fix: replace unicode checkmark with ASCII argmax label --- transformer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transformer.py b/transformer.py index c9ea9b9..037aa59 100644 --- a/transformer.py +++ b/transformer.py @@ -526,7 +526,7 @@ class Transformer(Scene): # 5. Sampling: highlight top bar top_bar = dist[0][0] sample_hl = SurroundingRectangle(top_bar, color=YELLOW, stroke_width=1.5, buff=0.02) - samp_lbl = Text("\u2713 argmax", font_size=7, color=YELLOW) + samp_lbl = Text("argmax", font_size=7, color=YELLOW) samp_lbl.next_to(dist, DOWN, buff=0.05) self.play(Create(sample_hl), Write(samp_lbl), run_time=0.2) self.wait(0.15)