Commit graph

430 commits

Author SHA1 Message Date
Grant Sanderson
c96cdf43a1 Make sure mutability of dict arguments won't cause problems
One could argue that a pattern of "arg: dict | None = None" followed by "self.param = arg or dict()" is better, but that would make for an inconsistent pattern in cases where the default argument is not None.
2022-12-18 09:38:28 -08:00
Grant Sanderson
1f0427d685 Add height as attribute to SVGMobject 2022-12-17 13:17:12 -08:00
Grant Sanderson
8db20cc460 Small fix 2022-12-16 20:59:14 -08:00
Grant Sanderson
5625f63ca2 Clean up SVG.__Init__ and fix style issue 2022-12-16 20:59:02 -08:00
Grant Sanderson
dec11a4b17 Rename np_vector type to Vect3 or Vect4 to make context clearer 2022-12-16 20:35:26 -08:00
Grant Sanderson
43fd5e1aea Move custom type to manimlib.typing 2022-12-16 20:19:18 -08:00
Grant Sanderson
b21f5bad00 Fix small t2c issue 2022-12-16 11:41:42 -08:00
Grant Sanderson
afab37c2d2 Remove stray digest_config references 2022-12-16 11:00:59 -08:00
Grant Sanderson
ea4a47aeef Kill CONFIG in mtex_mobject.py 2022-12-16 10:54:14 -08:00
Grant Sanderson
a78e2b6ad2 Specify ManimColor type 2022-12-15 15:40:46 -08:00
Grant Sanderson
c56968fd09 Cleaner imports 2022-12-15 15:23:59 -08:00
Grant Sanderson
c8d01e7a43 Kill CONFIG in drawings.py 2022-12-15 14:28:34 -08:00
Grant Sanderson
3b5181d1a3 Kill CONFIG in StringMobject and Text 2022-12-15 13:35:13 -08:00
Grant Sanderson
a3215d0354 Fix small height bug 2022-12-15 12:48:27 -08:00
Grant Sanderson
c55374245d Kill config in svg_mobject 2022-12-15 12:48:06 -08:00
Grant Sanderson
c2766c9837 Remove stray import 2022-12-15 12:47:53 -08:00
Grant Sanderson
2a89e84538 Kill CONFIG in brace.py 2022-12-15 11:33:27 -08:00
Grant Sanderson
aac320aa98 Update Checkmark and Exmark definitions 2022-12-15 11:33:14 -08:00
Grant Sanderson
7aa5c83a14 Kill CONFIG in tex_mobject.py 2022-12-15 11:33:00 -08:00
Grant Sanderson
958002152e Define ManimColor type in constants 2022-12-14 10:55:32 -08:00
Grant Sanderson
88f2ae6d0d Merge branch 'master' of github.com:3b1b/manim into video-work 2022-09-13 14:08:15 -07:00
YishiMichael
fa1d938af1
chore: Optimize warning info 2022-09-10 23:55:52 +08:00
YishiMichael
4a575afdde
chore: Remove unused namespace constants 2022-09-07 13:23:02 +08:00
YishiMichael
ae115d9992
refactor: Remove expansion of <use> elements 2022-09-07 13:19:08 +08:00
YishiMichael
eadf611f1e
fix: fix an incorrect typing 2022-08-22 22:05:33 +08:00
YishiMichael
4dfe8aff86
refactor: refactor StringMobject 2022-08-22 21:52:48 +08:00
YishiMichael
8bd01d60e4
fix: add protect attribute to hash_seed 2022-08-22 17:08:58 +08:00
YishiMichael
c2a75e15cc
refactor: refactor StringMobject 2022-08-22 16:55:46 +08:00
YishiMichael
19c757ec90
refactor: refactor StringMobject 2022-08-20 13:01:59 +08:00
YishiMichael
7ffc7b33f7
Refactor StringMobject and relevant classes 2022-08-07 23:57:54 +08:00
YishiMichael
28e4240475
Refactor StringMobject and relevant classes 2022-08-07 11:29:31 +08:00
YishiMichael
f434eb93e2
Refactor StringMobject and relevant classes 2022-08-07 00:50:29 +08:00
YishiMichael
093af347aa
Refactor LabelledString and relevant classes 2022-06-11 15:15:39 +08:00
YishiMichael
93265c7341
Remove a twice-defined method 2022-05-30 10:19:52 +08:00
Grant Sanderson
0d845d5bba Bubble tweaks 2022-05-29 16:37:53 -07:00
YishiMichael
a73bd5d4fe
Fix popping bug 2022-05-29 16:48:30 +08:00
YishiMichael
97ac8c9953
Expand use elements 2022-05-29 16:26:40 +08:00
YishiMichael
bc939fdd5b
Rename font to template 2022-05-28 23:18:56 +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
22a3bef670
Resolve conflicts 2022-05-28 12:40:29 +08:00
Grant Sanderson
07a8274cb1
Merge pull request #1821 from 3b1b/video-work
Video work
2022-05-24 15:20:07 -07:00
Grant Sanderson
83b4aa6b88 Let defaullt text alignment be decided in default_config 2022-05-24 15:16:59 -07:00
Grant Sanderson
ca523c8a5e Fix bubble direction 2022-05-23 11:07:51 -07:00
YishiMichael
9386461d27
Add font attribute for Tex 2022-05-22 23:47:45 +08:00
YishiMichael
1596356385
Reuse hash_string function 2022-05-22 10:29:20 +08:00
YishiMichael
f0984487ea
Construct TexTemplate class to convert tex to svg 2022-05-21 15:56:03 +08:00
YishiMichael
cfded00f13
Fix a logistic bug (#1815) 2022-05-20 18:56:40 +08:00
YishiMichael
26de7c9ce5
Fix a logistic bug 2022-05-20 18:49:38 +08:00
Grant Sanderson
cece830349 Merge branch 'master' of github.com:3b1b/manim into video-work 2022-05-17 09:19:47 -07:00