Commit graph

28 commits

Author SHA1 Message Date
Grant Sanderson
86b756ab1f No need for subdividing sharp curves 2023-01-11 14:20:20 -08:00
Grant Sanderson
3aa9eb6372 Add String.get_symbol_substrings and Tex.get_symbol_substrings 2022-12-30 15:07:41 -08:00
Grant Sanderson
13fc8daba9 Extend StringMobject.select_unisolated_substring to work for regular expressions 2022-12-29 14:18:46 -08:00
Grant Sanderson
c7ba775845 In StringMobject.select_parts, default to using select_unisolated_substring if substring was not explicitly isolated 2022-12-28 13:39:13 -08:00
Grant Sanderson
49d4472e7e Add StringMobject.get_specified_substrings 2022-12-27 19:13:09 -08:00
Grant Sanderson
3bf5ce5776 Fix TexMobject.select_unisolated_substring for substrings with escape characters 2022-12-26 09:02:00 -07:00
Grant Sanderson
33682b7199 MTex is the new Tex, Tex is now OldTex
Global replace
Tex -> OldTex
TexText -> OldTexText
MTex -> Tex
MTexText -> TexText
2022-12-21 13:18:20 -08:00
Grant Sanderson
958c34c705 Push functionality for selecting unisolated substrings up into StringMobject 2022-12-21 12:47:48 -08:00
Grant Sanderson
6176bcd45a Add option for StringMobject to only render one svg 2022-12-20 14:32:04 -08:00
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
b2fd22c539 Small cleanups 2022-12-19 16:21:40 -08:00
Grant Sanderson
2c20a1509e Remoe height defaults form __init__args of SingleStringTex and String 2022-12-19 14:43:10 -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
3b5181d1a3 Kill CONFIG in StringMobject and Text 2022-12-15 13:35:13 -08:00
Grant Sanderson
958002152e Define ManimColor type in constants 2022-12-14 10:55:32 -08:00
YishiMichael
fa1d938af1
chore: Optimize warning info 2022-09-10 23:55:52 +08:00
YishiMichael
4dfe8aff86
refactor: refactor StringMobject 2022-08-22 21:52:48 +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
f0447d7739
Small refactors on StringMobject and relevant classes 2022-05-28 21:43:37 +08:00
YishiMichael
26de7c9ce5
Fix a logistic bug 2022-05-20 18:49:38 +08:00
YishiMichael
cdadaf8a8c
Rename LabelledString to StringMobject 2022-05-06 22:09:58 +08:00
Renamed from manimlib/mobject/svg/labelled_string.py (Browse further)