Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with \sum #16

Closed
ghostiek opened this issue Mar 18, 2020 · 1 comment
Closed

Problems with \sum #16

ghostiek opened this issue Mar 18, 2020 · 1 comment

Comments

@ghostiek
Copy link

When I run this piece of code, I get an unexpected result. It should be writing out \sum_{j=0}^\infty x_j fully then after two seconds adding brackets around it, but it draws half of the left one first and then completes it. In fact, the subscript of x doesn't get written out initially.

%%manim clttest --low_quality

class clttest(Scene):
    def construct(self):
        xj = TexMobject(
        r"""\left[""",
        r"""\sum_{j=0}^\infty x_j""",
        r"""\right]"""
        )
        self.play(Write(xj[1]))
        self.wait(2)
        self.play(Write(xj[0]),
                  Write(xj[2]))

KFITQW5BmB

The problem lies with \sum I assume because running this works just fine

%%manim clttest --low_quality

class clttest(Scene):
    def construct(self):
        xj = TexMobject(
        r"""\left[""",
        r"""x_j""",
        r"""\right]"""
        )
        self.play(Write(xj[1]))
        self.wait(2)
        self.play(Write(xj[0]),
                  Write(xj[2]))

HQMU5rPIyZ

@ghostiek
Copy link
Author

ghostiek commented Mar 19, 2020

Re-tested it on the main version of manim and the problem originated there. So I opened the issue there. I'll close this then I guess since I opened another issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant