Commit graph

84 commits

Author SHA1 Message Date
Grant Sanderson
dd662b0d12 Move Selector and Span to manimlib.typing 2022-12-20 14:29:17 -08:00
Grant Sanderson
073a62bf03 Factor rgb_to_hex, hex_to_int and int_to_hex away from StringMobject and to utils/color 2022-12-19 17:28:22 -08:00
Grant Sanderson
e0e7e24351 Move display_during_execturion call
Such that it only gets called when a new svg needs to be written
2022-12-19 17:01:06 -08:00
Grant Sanderson
c2c8149627 Revert "Move display_during_exection associated with Latex rendering"
This reverts commit ab470c3ee5.
2022-12-19 16:54:55 -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
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
43fd5e1aea Move custom type to manimlib.typing 2022-12-16 20:19:18 -08:00
Grant Sanderson
ea4a47aeef Kill CONFIG in mtex_mobject.py 2022-12-16 10:54:14 -08:00
Grant Sanderson
958002152e Define ManimColor type in constants 2022-12-14 10:55:32 -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
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
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
YishiMichael
cdadaf8a8c
Rename LabelledString to StringMobject 2022-05-06 22:09:58 +08:00
YishiMichael
7cf0e0ba10
Refactor LabelledString and relevant classes 2022-05-06 17:56:27 +08:00
YishiMichael
b509f62010
Refactor LabelledString and relevant classes 2022-05-06 16:43:20 +08:00
YishiMichael
642602155d
[WIP] Refactor LabelledString and relevant classes 2022-05-05 23:03:02 +08:00
YishiMichael
511a3aab3d
[WIP] Remove comments 2022-05-04 22:18:19 +08:00
YishiMichael
1cb7401141
[WIP] Refactor LabelledString and relevant classes 2022-05-04 21:56:13 +08:00
YishiMichael
ab8f78f40f
[WIP] Refactor LabelledString and relevant classes 2022-05-03 23:39:37 +08:00
YishiMichael
03cb42ba15
[WIP] Refactor LabelledString and relevant classes 2022-05-02 22:40:06 +08:00
YishiMichael
065900c6ac
Some refactors 2022-04-27 23:04:24 +08:00
YishiMichael
e085c2e214
Refactor LabelledString and relevant classes 2022-04-23 17:17:43 +08:00
YishiMichael
12bfe88f40
Some refactors 2022-04-11 23:44:33 +08:00
YishiMichael
e23f667c3d
Fix bug when handling multi-line tex 2022-04-10 08:36:13 +08:00
YishiMichael
557707ea75
Support substring and case_sensitive parameters 2022-04-07 00:46:41 +08:00
YishiMichael
93f8d3f1ca
Some refactors on LabelledString 2022-04-06 22:38:33 +08:00
YishiMichael
d5ab9a91c4
Reorganize files 2022-03-31 16:15:58 +08:00
YishiMichael
a8039d803e
Rename file 2022-03-30 21:58:27 +08:00
YishiMichael
c5ec47b0e9
Refactor LabelledString 2022-03-30 21:53:00 +08:00
YishiMichael
7e8b3a4c6b
Refactor LabelledString 2022-03-29 23:38:06 +08:00
YishiMichael
89e139009b
Remove an error raising 2022-03-28 19:17:40 +08:00
YishiMichael
45faa9063b
Add items for hash_seed 2022-03-28 19:02:50 +08:00
YishiMichael
473aaea399
Construct LabelledString 2022-03-28 17:55:50 +08:00
YishiMichael
3b01ec48e6
Refactor MTex 2022-03-27 14:44:50 +08:00
YishiMichael
e44a2fc8c6
Refactor MTex 2022-03-27 00:29:22 +08:00
YishiMichael
9ac1805e7e
Refactor MTex 2022-03-26 20:52:28 +08:00
YishiMichael
4a03d196a6
Adjust typings 2022-03-23 13:34:30 +08:00
YishiMichael
519e2f4f1e
Adjust some typings 2022-03-23 12:21:40 +08:00
TonyCrane
9f3b404df6
resolve conflict and add type hints for it 2022-02-16 11:46:55 +08:00
YishiMichael
0cab23b2ba
Reorganize inheriting order of SVGMobject 2022-02-15 20:16:15 +08:00
TonyCrane
773e013af9
chore: add type hints to manimlib.mobject.svg 2022-02-14 22:55:41 +08:00