From 9bf93609b15e094d52708fecb5d3f609aeb198a3 Mon Sep 17 00:00:00 2001 From: Jay Gupta <66860950+JayGupta797@users.noreply.github.com> Date: Sun, 8 Sep 2024 14:39:20 -0700 Subject: [PATCH] Update labeled.py --- manim/mobject/geometry/labeled.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/manim/mobject/geometry/labeled.py b/manim/mobject/geometry/labeled.py index a333b2b076..02194f48b4 100644 --- a/manim/mobject/geometry/labeled.py +++ b/manim/mobject/geometry/labeled.py @@ -46,12 +46,11 @@ class Label(VGroup): class LabelExample(Scene): def construct(self): label = Label( - label = 'Text', - font_size = 20, + label = Text('Label Text', font='sans-serif'), label_color = WHITE, label_frame = True ) - label.move_to(UP) + label.scale(3) self.add(label) """