18 Commits

Author SHA1 Message Date
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
b2fd22c539 Small cleanups 2022-12-19 16:21:40 -08:00
2c20a1509e Remoe height defaults form __init__args of SingleStringTex and String 2022-12-19 14:43:10 -08:00
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
43fd5e1aea Move custom type to manimlib.typing 2022-12-16 20:19:18 -08:00
3b5181d1a3 Kill CONFIG in StringMobject and Text 2022-12-15 13:35:13 -08:00
958002152e Define ManimColor type in constants 2022-12-14 10:55:32 -08:00
fa1d938af1 chore: Optimize warning info 2022-09-10 23:55:52 +08:00
4dfe8aff86 refactor: refactor StringMobject 2022-08-22 21:52:48 +08:00
c2a75e15cc refactor: refactor StringMobject 2022-08-22 16:55:46 +08:00
19c757ec90 refactor: refactor StringMobject 2022-08-20 13:01:59 +08:00
7ffc7b33f7 Refactor StringMobject and relevant classes 2022-08-07 23:57:54 +08:00
28e4240475 Refactor StringMobject and relevant classes 2022-08-07 11:29:31 +08:00
f434eb93e2 Refactor StringMobject and relevant classes 2022-08-07 00:50:29 +08:00
093af347aa Refactor LabelledString and relevant classes 2022-06-11 15:15:39 +08:00
f0447d7739 Small refactors on StringMobject and relevant classes 2022-05-28 21:43:37 +08:00
26de7c9ce5 Fix a logistic bug 2022-05-20 18:49:38 +08:00
cdadaf8a8c Rename LabelledString to StringMobject 2022-05-06 22:09:58 +08:00