-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Description
Description of bug / unexpected behavior
The BraceText
mobject has the method change_label
, that I would expect to change the label of the brace.
However calling the method has no effect on the rendered scene.
How to reproduce the issue
To run the example below, first delete line 32 from brace.py
that looks like
__all__ = ["Brace", "BraceBetweenPoints", "BraceLabel", "BraceText", "ArcBrace"]
Code for reproducing the problem
from manim import *
class BraceExample(Scene):
def construct(self):
s1 = Square().move_to(2*LEFT)
self.add(s1)
br1 = BraceText(s1, "Label")
self.add(br1)
s2 = Square().move_to(2*RIGHT)
self.add(s2)
br2 = BraceText(s2, "Label")
# I would expect this line to change the label
# of the br2 brace to "new". But this is not seen
# in the output.
br2.change_label("new")
self.add(br2)
Additional media files
Additional comments
This issue was discovered while working on #4309
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
🆕 New