Commit graph

241 commits

Author SHA1 Message Date
Grant Sanderson
5c0232a5e0 Have LatexError show line of error and the next line
This is where undefined control sequence errors will show up.
2022-12-19 16:20:19 -08:00
Grant Sanderson
ab470c3ee5 Move display_during_exection associated with Latex rendering
Only have it display when a new SVG is being written
2022-12-19 16:19:43 -08:00
Grant Sanderson
903e140719 Add from __future__ import annotations 2022-12-18 09:13:11 -08:00
Grant Sanderson
f8b39f2ff1 Allow Scalable type to be any FloatArray 2022-12-18 09:11:16 -08:00
Grant Sanderson
6f0020950f Make Scalable a Typevar 2022-12-17 22:28:53 -08:00
Grant Sanderson
7ac78f3dbb Updating type hints for paths.py 2022-12-17 22:14:53 -08:00
Grant Sanderson
f53fad1a96 Avoid implicit string concatenation 2022-12-17 22:14:43 -08:00
Grant Sanderson
c96a698713 Remove unused drag_pixels 2022-12-17 22:14:30 -08:00
Grant Sanderson
f6ff226cd4 Remove stray imports 2022-12-17 22:14:20 -08:00
Grant Sanderson
4dec67f9fe Move unused (and slightly absurd) dict-related helper functions to 3b1b/videos/once_useful_constructs 2022-12-17 22:00:37 -08:00
Grant Sanderson
0dab04080e No need to have a get_runtime helper when many other options exist 2022-12-17 21:53:15 -08:00
Grant Sanderson
fd20ead11b Update output type for make_even 2022-12-17 21:51:01 -08:00
Grant Sanderson
24fd6d890e Tweak type hints for bezier.py 2022-12-17 18:35:26 -08:00
Grant Sanderson
b817e6f15f Tweak type hints in color.py 2022-12-17 17:29:49 -08:00
Grant Sanderson
5b697b3782 Remove stray import 2022-12-17 17:29:39 -08:00
Grant Sanderson
97f28b34f3 Distinguish Vect3 from Vect3Array types 2022-12-17 13:16:48 -08:00
Grant Sanderson
cef6506920 Add better types + Small refactors on space_ops 2022-12-16 20:35:45 -08:00
Grant Sanderson
43fd5e1aea Move custom type to manimlib.typing 2022-12-16 20:19:18 -08:00
Grant Sanderson
ef0999cc09 Rename config_ops -> dict_ops 2022-12-16 15:23:43 -08:00
Grant Sanderson
a39c65cb5c Fix type 2022-12-15 10:11:58 -08:00
Grant Sanderson
958002152e Define ManimColor type in constants 2022-12-14 10:55:32 -08:00
Grant Sanderson
5281a83e9d Add overshoot rate func 2022-11-18 09:12:52 -08:00
Grant Sanderson
a2606c7e37 Make sure find_intersection returns a result matching the shape of inputs 2022-11-03 16:48:14 -07:00
YishiMichael
4dfe8aff86
refactor: refactor StringMobject 2022-08-22 21:52:48 +08:00
YishiMichael
19c757ec90
refactor: refactor StringMobject 2022-08-20 13:01:59 +08:00
YishiMichael
bc939fdd5b
Rename font to template 2022-05-28 23:18:56 +08:00
YishiMichael
3faa21cadd
Add blank template 2022-05-28 22:44:30 +08:00
YishiMichael
bf530db2ed
Add ctex_basic template 2022-05-28 22:01:36 +08:00
YishiMichael
f0447d7739
Small refactors on StringMobject and relevant classes 2022-05-28 21:43:37 +08:00
YishiMichael
59eba943e5
Resolve conflicts 2022-05-28 12:43:53 +08:00
YishiMichael
9386461d27
Add font attribute for Tex 2022-05-22 23:47:45 +08:00
YishiMichael
f0984487ea
Construct TexTemplate class to convert tex to svg 2022-05-21 15:56:03 +08:00
Grant Sanderson
cece830349 Merge branch 'master' of github.com:3b1b/manim into video-work 2022-05-17 09:19:47 -07:00
Grant Sanderson
6decb0c32a Rename frame_rate -> fps 2022-05-14 17:47:31 -07:00
Grant Sanderson
fb3cf308df Make sure init_customization matches default_config.yml 2022-05-14 17:42:07 -07:00
Grant Sanderson
2b104a46fd Add error message to LatexError 2022-04-27 09:55:15 -07:00
YishiMichael
69db53d612
Merge branch '3b1b:master' into refactor 2022-04-26 10:07:40 +08:00
Grant Sanderson
b920e7be7b Rewrite remove_list_redundancies based on (ordered) dicts 2022-04-25 10:45:35 -07:00
Grant Sanderson
6310e2fb64 Clean up Scene.remove function, delete restructure_list_to_exclude_certain_family_members 2022-04-24 10:29:31 -07:00
YishiMichael
97edc2d6cf
Merge branch 'master' into refactor 2022-04-24 08:26:22 +08:00
YishiMichael
e085c2e214
Refactor LabelledString and relevant classes 2022-04-23 17:17:43 +08:00
Grant Sanderson
d24b8ff48f
Merge branch 'master' into master 2022-04-20 22:40:11 -07:00
Grant Sanderson
4f2e3456e2 Raise Specific exception type when running into latex errors 2022-04-20 21:53:05 -07:00
Grant Sanderson
47636686cb Cleanup extract_mobject_family_members 2022-04-20 21:51:56 -07:00
YishiMichael
cbb7e69f68
Refactor LabelledString and relevant classes 2022-04-18 18:47:57 +08:00
YishiMichael
0406ef70bb
Adjust typings for sounds.py and tex_file_writing.py 2022-04-16 14:37:28 +08:00
YishiMichael
09952756ce
Support hashing Color type in hash_obj 2022-04-15 13:48:24 +08:00
Grant Sanderson
5a91c73b23 Merge branch 'master' of github.com:3b1b/manim into video-work 2022-04-14 14:40:14 -07:00
YishiMichael
93790cde64
Add import annotations statement 2022-04-12 20:03:48 +08:00
YishiMichael
9ef9961d0e
Sort imports 2022-04-12 19:19:59 +08:00