-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Add ArcPolygon to geometry.py #707
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
Conversation
Co-authored-by: Leo Torres <dleonardotn@gmail.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
So I attempted to put this after the first rendered example to demonstrate how to access the arcs:
For some reason it actually renders fine in the docs, I think. Now for some inconceivable reason the other installation tests try to run this code... I'm open to suggestions on how to rewrite that part. |
Sorry I don't understand what you are asking 🤔 |
I'm talking about this error message from the 9 CI tests:
Something about the doctest failing, despite the docs rendering fine. Clearly some part of the code gets it into it's head to try computing the part behind the |
This is a feature: when using Python code and also specifying the expected output, then the corresponding lines are actually tested and checked within our pipeline. The manim directive can handle this situation, but you will need to write the test a little bit differently: currently, your
The indentation of your |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for you efforts! The code looks good in general to me -- however, I do have an issue with the current user interface.
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
I think this is about ready to get merged now, the docs build halfway decent and are very detailed, the 2 classes work nice too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only requesting minor stuff. Thanks for all the work.
Co-authored-by: Leo Torres <dleonardotn@gmail.com>
Co-authored-by: Leo Torres <dleonardotn@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added two commits (aa75e13, 3ab3555) with some minor changes in the formatting of the documentation; I am satisfied otherwise. Let me know if you are okay with this too, @XorUnison, then I'll merge it. (Or actually, I'll approve it now; if you are satisfied you can also just merge yourself.)
Partial implementation of #210
Added ArcPolygon, to geometry.py
For test code and a result gif of the added feature, see #210, Test2.