fix: replace unicode checkmark with ASCII argmax label
This commit is contained in:
parent
e594d02d31
commit
c2c18f10d6
|
|
@ -526,7 +526,7 @@ class Transformer(Scene):
|
||||||
# 5. Sampling: highlight top bar
|
# 5. Sampling: highlight top bar
|
||||||
top_bar = dist[0][0]
|
top_bar = dist[0][0]
|
||||||
sample_hl = SurroundingRectangle(top_bar, color=YELLOW, stroke_width=1.5, buff=0.02)
|
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)
|
samp_lbl.next_to(dist, DOWN, buff=0.05)
|
||||||
self.play(Create(sample_hl), Write(samp_lbl), run_time=0.2)
|
self.play(Create(sample_hl), Write(samp_lbl), run_time=0.2)
|
||||||
self.wait(0.15)
|
self.wait(0.15)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue