3b1b-manim/manimlib
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
..
animation Refactor: move type validation to top of Animation.__init__ and extract into method (#2332) 2025-06-10 08:11:16 -07:00
camera Misc. clean up (#2269) 2024-12-12 08:39:54 -08:00
event_handler Add white space after assert statements 2024-08-16 12:15:55 -05:00
mobject Enhance Autocompletion for mobject.animate. to Display Mobject Methods (#2342) 2025-06-10 08:13:29 -07:00
scene Video work (#2326) 2025-03-20 12:00:35 -07:00
shaders Fix typos in GLSL comments and add constants PURE_RED, PURE_GREEN, PURE_BLUE (#2340) 2025-06-10 08:12:11 -07:00
utils Video work (#2326) 2025-03-20 12:00:35 -07:00
__init__.py Cleaner local caching of Tex/Text data, and partially cleaned up configuration (#2259) 2024-12-05 14:51:14 -08:00
__main__.py A few bug fixes (#2277) 2024-12-12 18:45:34 -08:00
config.py Resolving minor bug in StreamLines (#2330) 2025-06-10 08:05:07 -07:00
constants.py Fix typos in GLSL comments and add constants PURE_RED, PURE_GREEN, PURE_BLUE (#2340) 2025-06-10 08:12:11 -07:00
default_config.yml Fix typos in GLSL comments and add constants PURE_RED, PURE_GREEN, PURE_BLUE (#2340) 2025-06-10 08:12:11 -07:00
extract_scene.py Automatically identify the class name based on the specified line number. (#2280) 2024-12-28 07:18:32 -08:00
logger.py Make log_level configurable in default_config 2024-12-10 20:12:38 -06:00
module_loader.py Update InteractiveSceneEmbed (#2267) 2024-12-11 11:33:48 -08:00
shader_wrapper.py No need for the shortcuts into the manim_config 2024-12-11 09:58:51 -06:00
tex_templates.yml Update tex_templates.yml 2024-06-04 23:47:19 +08:00
typing.py Enhance Autocompletion for mobject.animate. to Display Mobject Methods (#2342) 2025-06-10 08:13:29 -07:00
window.py Move resizing out of Window.focus, and into Window.init_for_scene (#2274) 2024-12-12 14:16:45 -08:00