Commit graph

902 commits

Author SHA1 Message Date
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
Grant Sanderson
a9349057ad Merge branch 'master' of github.com:3b1b/manim into video-work 2022-03-22 11:30:25 -07:00
Grant Sanderson
e812b99594 Re-add necessary imports 2022-03-22 11:07:26 -07:00
Grant Sanderson
f690164087
Merge branch 'master' into master 2022-03-22 11:00:33 -07:00
Grant Sanderson
8b1f0a8749 Refactor Mobject.set_rgba_array_by_color 2022-03-22 10:35:49 -07:00
Grant Sanderson
c0b7b55e49 Use stroke_color to init arrow 2022-03-22 10:35:34 -07:00
Grant Sanderson
41b52c6117
Merge pull request #1751 from YishiMichael/master
Refactor Text with the latest manimpango
2022-03-22 09:50:43 -07:00
YishiMichael
e5ce0ca286
Reorganize methods 2022-03-22 20:46:35 +08:00
YishiMichael
a8c2a9fa3f
Clean up code 2022-03-21 23:11:37 +08:00
YishiMichael
cabc1322d6
Clean up code 2022-03-21 23:06:47 +08:00
YishiMichael
c51811d2f1
Except IndexError for MTex.get_part_by_tex 2022-03-21 22:45:06 +08:00
Grant Sanderson
e19f35585d Add GlowDots, analogous to GlowDot 2022-03-17 12:00:49 -07:00
Grant Sanderson
66819f5dbc Add 2d and 3d pianos 2022-03-17 12:00:29 -07:00
Grant Sanderson
f249da95fb Add a basic Prismify to turn a flat VMobject into something with depth 2022-03-17 12:00:10 -07:00
widcardw
67f8007764
Fix the width of riemann rectangles 2022-03-17 14:10:30 +08:00
YishiMichael
2a0709664d
Add explicit return statement 2022-03-17 11:33:53 +08:00
YishiMichael
de46df78dc
Modify warning message 2022-03-17 10:58:41 +08:00
Grant Sanderson
bd6c731e67 Allow CoordinateSystem.coords_to_point to work on arrays of coords 2022-03-16 12:24:22 -07:00
Grant Sanderson
c3e13fff05 Allow Numberline.number_to_point to work on an array of numbers 2022-03-16 12:24:03 -07:00
Bill Xi
0cef9a1e61
Reorganize getters for ParametricCurve 2022-03-06 13:54:42 +08:00
YishiMichael
2d764e12f4
fix char escaping bug 2022-03-03 21:09:05 +08:00
YishiMichael
d744311f15
add warning for slicing methods 2022-03-03 20:47:44 +08:00
YishiMichael
11af9508f2
add back get_parts_by_text, get_part_by_text methods 2022-03-03 20:38:15 +08:00
YishiMichael
a227ffde05
PEP8: reorder imports 2022-03-02 20:28:26 +08:00
YishiMichael
e0b0ae280e
Allow passing strings to local_configs 2022-03-02 19:59:14 +08:00
YishiMichael
fce38fd8a5
Modify default value of apply_space_chars 2022-03-02 19:52:45 +08:00
YishiMichael
52a99a0c49
Add global_config, local_configs params 2022-03-02 19:34:56 +08:00
YishiMichael
956e3a69c7
Refactor Text 2022-03-02 18:38:24 +08:00
YishiMichael
95a3ac6876
Refactor Text 2022-02-26 20:36:32 +08:00
YishiMichael
b06a5d3f23
Refactor Text 2022-02-26 20:31:26 +08:00
YishiMichael
fa8962e024
Refactor Text 2022-02-20 23:35:48 +08:00
TonyCrane
4fbe948b63
style: insert an empty line after import 2022-02-16 21:08:25 +08:00
TonyCrane
05bee011d2
chore: update type hint of SVGMobject 2022-02-16 20:37:07 +08:00
TonyCrane
9f3b404df6
resolve conflict and add type hints for it 2022-02-16 11:46:55 +08:00
Grant Sanderson
97ca42d454
Merge pull request #1745 from YishiMichael/master
Reorganize inheriting order and refactor SVGMobject
2022-02-15 10:05:53 -08:00
Bill Xi
0bb9216c14
Update hash_obj method 2022-02-15 21:50:14 +08:00
YishiMichael
6f9df8db26
Improve hashing algorithm 2022-02-15 21:38:22 +08:00
YishiMichael
0cab23b2ba
Reorganize inheriting order of SVGMobject 2022-02-15 20:16:15 +08:00
TonyCrane
d19e0cb9ab
fix: remove import before future 2022-02-15 14:56:00 +08:00
TonyCrane
4c16bfc2c0
chore: add type hints to manimlib.mobject 2022-02-15 14:37:15 +08:00
Bill Xi
aef02bfcf9
changed hashing 2022-02-15 11:45:17 +08:00
Bill Xi
9d04e287d7
Removed init_colors 2022-02-15 10:20:06 +08:00
Bill Xi
97c0f4857b
Update numbers.py
Added config passing for text
2022-02-15 09:35:10 +08:00
TonyCrane
773e013af9
chore: add type hints to manimlib.mobject.svg 2022-02-14 22:55:41 +08:00
TonyCrane
61c70b426c
remove unnecessary import 2022-02-14 21:43:22 +08:00
TonyCrane
9bdcc8b635
style: remove quotes of annotations according to PEP 563 2022-02-14 21:41:45 +08:00
TonyCrane
66caf0c1ad
chore: only import some classes when type checking 2022-02-14 21:34:56 +08:00
TonyCrane
7fb6f352c4
fix: fix some bugs caused by type hints and imports 2022-02-14 20:02:24 +08:00