3b1b-manim/manimlib/utils
Grant Sanderson 744e695340
Misc. clean up (#2269)
* Comment tweak

* Directly print traceback

Since the shell.showtraceback is giving some issues

* Make InteracrtiveSceneEmbed into a class

This way it can keep track of it's internal shell; use of get_ipython has a finicky relationship with reloading.

* Move remaining checkpoint_paste logic into scene_embed.py

This involved making a few context managers for Scene: temp_record, temp_skip, temp_progress_bar, which seem useful in and of themselves.

* Change null key to be the empty string

* Ensure temporary svg paths for Text are deleted

* Remove unused dict_ops.py functions

* Remove break_into_partial_movies from file_writer configuration

* Rewrite guarantee_existence using Path

* Clean up SceneFileWriter

It had a number of vestigial functions no longer used, and some setup that could be made more organized.

* Remove --save_pngs CLI arg (which did nothing)

* Add --subdivide CLI arg

* Remove add_extension_if_not_present

* Remove get_sorted_integer_files

* Have find_file return Path

* Minor clean up

* Clean up num_tex_symbols

* Fix find_file

* Minor cleanup for extract_scene.py

* Add preview_frame_while_skipping option to scene config

* Use shell.showtraceback function

* Move keybindings to config, instead of in-place constants

* Replace DEGREES -> DEG
2024-12-12 08:39:54 -08:00
..
__init__.py delete old entry point file and add __init__ for folders 2021-02-07 17:48:51 +08:00
bezier.py Merge pull request #2009 from Varniex/patch-1 2024-09-06 10:59:04 -07:00
cache.py Remove display_during_execution 2024-12-05 15:05:37 -06:00
color.py Fix import of pyplot 2024-11-25 10:49:05 -07:00
debug.py Fix bad argument 2024-09-21 12:15:06 -04:00
dict_ops.py Misc. clean up (#2269) 2024-12-12 08:39:54 -08:00
directories.py Replace get_global_config() with manim_config, and make it an addict Dict 2024-12-11 09:50:17 -06:00
family_ops.py Simplify Scene.remove to not require a Mobject.get_ancestors call 2022-12-26 07:46:40 -07:00
file_ops.py Misc. clean up (#2269) 2024-12-12 08:39:54 -08:00
images.py Remove unused drag_pixels 2022-12-17 22:14:30 -08:00
iterables.py Update description of remove_list_redundancies 2024-09-21 12:15:29 -04:00
paths.py Updating type hints for paths.py 2022-12-17 22:14:53 -08:00
rate_functions.py fix: there_and_back_with_pause 2024-05-22 16:37:07 +08:00
shaders.py Cleaning up some imports + Minor Bug fixed in VectorField (#2253) 2024-12-05 14:42:46 -08:00
simple_functions.py Misc. clean up (#2269) 2024-12-12 08:39:54 -08:00
sounds.py Adjust typings for sounds.py and tex_file_writing.py 2022-04-16 14:37:28 +08:00
space_ops.py Stylistic change 2023-08-15 20:40:24 -07:00
tex.py Misc. clean up (#2269) 2024-12-12 08:39:54 -08:00
tex_file_writing.py Replace get_global_config() with manim_config, and make it an addict Dict 2024-12-11 09:50:17 -06:00
tex_to_symbol_count.py Add \dots and \mathds to tex_to_symbol_count 2023-08-15 20:40:39 -07:00