3b1b-manim/manimlib/mobject
Irvanal Haq 6fb1845f4a
Enhance Autocompletion for mobject.animate. to Display Mobject Methods (#2342)
* Improve autocompletion for mobject.animate to show Mobject methods

- Added type hint `-> _AnimationBuilder | Self` to `Mobject.animate`, enabling autocompletion for `Mobject` methods after `mobject.animate`.

- Prioritized `typing_extensions.Self` over `typing.Self` in imports, so autocompletion of `Mobject` methods also works in Python < 3.11.

* Support `mobject.animate.` autocompletion in IPython

* Add docstring to `__dir__` and add return type hint

* improve docsting `__dir__` _AnimationBuilder
2025-06-10 08:13:29 -07:00
..
svg Video work (#2356) 2025-06-10 08:02:32 -07:00
types Fix error when using VFadeIn (and its subclasses) (#2328) 2025-06-10 08:04:13 -07:00
__init__.py delete old entry point file and add __init__ for folders 2021-02-07 17:48:51 +08:00
boolean_ops.py Fixing a Cairo Bug (Windows OS) 2024-12-11 00:10:06 +05:30
changing.py Video work (#2284) 2024-12-26 09:35:34 -08:00
coordinate_systems.py Performance improved in set_color_by_rgba_func (#2316) 2025-03-20 11:56:29 -07:00
frame.py Cleaning up some imports + Minor Bug fixed in VectorField (#2253) 2024-12-05 14:42:46 -08:00
functions.py Replace VMobject.make_approximately_smooth with VMobject.make_smooth(approx=True) 2023-01-19 11:34:13 -08:00
geometry.py Video work (#2318) 2025-02-26 07:52:59 -08:00
interactive.py Add white space after assert statements 2024-08-16 12:15:55 -05:00
matrix.py Misc. clean up (#2269) 2024-12-12 08:39:54 -08:00
mobject.py Enhance Autocompletion for mobject.animate. to Display Mobject Methods (#2342) 2025-06-10 08:13:29 -07:00
mobject_update_utils.py Misc. clean up (#2269) 2024-12-12 08:39:54 -08:00
number_line.py Video work (#2356) 2025-06-10 08:02:32 -07:00
numbers.py Video work (#2318) 2025-02-26 07:52:59 -08:00
probability.py Automatically identify the class name based on the specified line number. (#2280) 2024-12-28 07:18:32 -08:00
shape_matchers.py Video work (#2318) 2025-02-26 07:52:59 -08:00
three_dimensions.py Video work (#2318) 2025-02-26 07:52:59 -08:00
value_tracker.py Use typing_extensions to import Self for python versions <3.11 2023-02-02 10:54:47 -08:00
vector_field.py Resolving minor bug in StreamLines (#2330) 2025-06-10 08:05:07 -07:00