manim icon indicating copy to clipboard operation
manim copied to clipboard

Convert typehints within docstrings to proper in-code typings

Open Darylgolden opened this issue 3 years ago • 13 comments

Enhancement proposal

Currently, there are many instances of type hints being provided within docstrings - at Paragraph, for example. This has the disadvantage of not being able to be read by IDEs. Since we've standardized all new PRs to use in-code typings since a while back, the old ones should also be changed. A good example of properly implemented typings can be found here, for instance.

This is far too broad an issue to be resolved by a single PR, so I recommend fixing around one file per PR.

Additional comments

Darylgolden avatar Oct 01 '21 11:10 Darylgolden