Commit graph

1690 commits

Author SHA1 Message Date
YishiMichael
cbb7e69f68
Refactor LabelledString and relevant classes 2022-04-18 18:47:57 +08:00
YishiMichael
0e0244128c
Refactor LabelledString and relevant classes 2022-04-17 13:57:03 +08:00
YishiMichael
e9298c5faf
Remove sorting key 2022-04-16 16:31:55 +08:00
YishiMichael
4f5173b633
Adjust typing 2022-04-16 15:45:55 +08:00
YishiMichael
58127e7511
import Iterables 2022-04-16 15:34:32 +08:00
YishiMichael
b387bc0c95
Adjust typings 2022-04-16 15:29:23 +08:00
YishiMichael
0406ef70bb
Adjust typings for sounds.py and tex_file_writing.py 2022-04-16 14:37:28 +08:00
YishiMichael
654da85cf6
Adjust typings 2022-04-16 14:09:59 +08:00
YishiMichael
bc18894040
Remove empty results in LabelledString.select_parts 2022-04-16 13:59:42 +08:00
YishiMichael
ac4620483c
Support flexible selector types 2022-04-16 12:53:43 +08:00
YishiMichael
4690edec3e
Refactor LabelledString 2022-04-16 00:24:55 +08:00
YishiMichael
a1e77b0ce2
Refactor LabelledString 2022-04-15 23:58:06 +08:00
YishiMichael
dbefc3b256
Refactor LabelledString 2022-04-15 23:30:42 +08:00
YishiMichael
14dfd776dc
Refactor LabelledString 2022-04-15 23:26:41 +08:00
YishiMichael
0a810bb4f1
Refactor LabelledString 2022-04-15 22:54:06 +08:00
YishiMichael
09952756ce
Support hashing Color type in hash_obj 2022-04-15 13:48:24 +08:00
YishiMichael
020bd87271
Add back base_color attribute 2022-04-15 13:27:50 +08:00
YishiMichael
4c324767bd
Recover Mobject.scale method 2022-04-15 00:55:02 +08:00
YishiMichael
eec6b01a72
Refactor labelled_string.py 2022-04-14 21:07:31 +08:00
YishiMichael
0c1e5b337b
Support passing in complete environment tags 2022-04-13 22:51:55 +08:00
YishiMichael
bff9f74b04
Prevent from passing an empty string 2022-04-12 23:19:10 +08:00
YishiMichael
42444d090e
Add missing import 2022-04-12 21:09:25 +08:00
YishiMichael
b11ce7ff7c
Adjust annotation 2022-04-12 20:22:13 +08:00
YishiMichael
296ab84b46
Adjust annotation 2022-04-12 20:21:25 +08:00
YishiMichael
93790cde64
Add import annotations statement 2022-04-12 20:03:48 +08:00
YishiMichael
fbebaf0c75
Sort imports 2022-04-12 19:39:19 +08:00
YishiMichael
9ef9961d0e
Sort imports 2022-04-12 19:19:59 +08:00
YishiMichael
0cf3199578
Adjust return type 2022-04-12 11:26:19 +08:00
YishiMichael
f307c2a298
Add type annotations for color.py 2022-04-12 11:13:05 +08:00
Grant Sanderson
dc4b9bc93c Use outer_interpolate for NumberLine.number_to_point 2022-04-11 10:47:26 -07:00
Grant Sanderson
705f1a528b Separate functionality of ordinary linear interpolation from that using np.outer on arrays 2022-04-11 10:47:11 -07:00
Grant Sanderson
773520bcd9
Merge pull request #1785 from YishiMichael/master
Fix bug when handling multi-line tex
2022-04-11 09:52:51 -07:00
YishiMichael
12bfe88f40
Some refactors 2022-04-11 23:44:33 +08:00
YishiMichael
36d62ae1a3
Add regex parameter 2022-04-10 09:23:53 +08:00
YishiMichael
e23f667c3d
Fix bug when handling multi-line tex 2022-04-10 08:36:13 +08:00
EbbDrop
2277679111 Added a \overset as a special string 2022-04-08 23:06:08 +02:00
鹤翔万里
1f32a9e674
Some fix (#1781)
* fix: reduce warning from numpy

* fix: fix ControlsExample
2022-04-07 10:50:18 +08:00
YishiMichael
3550108ff7
Handle out-of-bound spans 2022-04-07 09:48:44 +08:00
YishiMichael
557707ea75
Support substring and case_sensitive parameters 2022-04-07 00:46:41 +08:00
YishiMichael
18963fb9fe
Some refactors on LabelledString 2022-04-06 23:16:59 +08:00
YishiMichael
93f8d3f1ca
Some refactors on LabelledString 2022-04-06 22:38:33 +08:00
YishiMichael
55a91a2354
Remove unnecessary raise statement 2022-04-05 22:16:26 +08:00
YishiMichael
7f616987a3
Fix typo 2022-04-05 14:01:07 +08:00
Grant Sanderson
648855dae0
Merge pull request #1772 from YishiMichael/master
Construct LabelledString base class for MarkupText and MTex
2022-04-04 10:01:13 -07:00
YishiMichael
974d9d5ab0
Avoid empty spans 2022-04-04 14:53:40 +08:00
YishiMichael
3c3264d7d6
Support passing in spans directly 2022-04-02 22:42:19 +08:00
鹤翔万里
39673a80d7
fix: add missing import of annotations 2022-04-02 22:00:02 +08:00
YishiMichael
84c56b3624
Fix typo 2022-03-31 18:11:37 +08:00
YishiMichael
dc816c9f8d
Improve algorithm 2022-03-31 18:08:10 +08:00
YishiMichael
d5ab9a91c4
Reorganize files 2022-03-31 16:15:58 +08:00