Skip to content

Commit

Permalink
Update labeled.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JayGupta797 committed Sep 8, 2024
1 parent 452eec3 commit 9bf9360
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions manim/mobject/geometry/labeled.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
"""

Expand Down

0 comments on commit 9bf9360

Please sign in to comment.