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

Rectangle of 0 width or 0 height cannot change width or height after created #2154

Open
ljw20180420 opened this issue Aug 2, 2024 · 0 comments
Labels

Comments

@ljw20180420
Copy link

If I create a rectangle of 0 width, then I cannot change its width after that.

from manim import *
rec1 = Rectangle(height=1, width=0)
print(f"{rec1.height} {rec1.width}")
rec1.height = 2
rec1.width = 1
print(f"{rec1.height} {rec1.width}")
@ljw20180420 ljw20180420 added the bug label Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant