Commit graph

1585 commits

Author SHA1 Message Date
Grant Sanderson
84fa3de435 By default, don't let Mobject.become match updaters
This causes the use of Mobject.become in an updater function to make the mobject immediately lose its updater.

https://github.com/3b1b/manim/issues/1877
2022-11-03 16:35:41 -07:00
Grant Sanderson
f878537814 Don't have Matrix try to convert lists of Mobject into numpy arrays
https://github.com/3b1b/manim/issues/1878
2022-11-03 16:31:19 -07:00
Grant Sanderson
8e6265d35e Give set_color_by_gradient more expected behavior
https://github.com/3b1b/manim/issues/1882
2022-11-03 16:17:17 -07:00
Grant Sanderson
faa37844e7 Add unit_tex option for NumberLine.add_numbers 2022-11-03 11:32:25 -07:00
Grant Sanderson
80d34547db Typo fix 2022-11-03 11:32:25 -07:00
Grant Sanderson
ce77f38bf1 Add CoordinateSystem.bind_graph_to_func 2022-11-03 11:32:25 -07:00
Grant Sanderson
88f2ae6d0d Merge branch 'master' of github.com:3b1b/manim into video-work 2022-09-13 14:08:15 -07:00
Grant Sanderson
d2e570eb19
Merge pull request #1862 from widcardw/dev
Add `set_anim_args` to `.animate` method
2022-09-13 12:42:36 -07:00
widcardw
603a773847 fix: pass args by calling animate that borrowed from CE 2022-09-11 22:59:43 +08:00
widcardw
2f691355db chore: add doc-string of set_anim_args 2022-09-11 10:31:30 +08:00
widcardw
a613099b1d feat: add set_anim_args to .animate method 2022-09-11 10:22:08 +08:00
YishiMichael
fa1d938af1
chore: Optimize warning info 2022-09-10 23:55:52 +08:00
YishiMichael
4a575afdde
chore: Remove unused namespace constants 2022-09-07 13:23:02 +08:00
YishiMichael
ae115d9992
refactor: Remove expansion of <use> elements 2022-09-07 13:19:08 +08:00
YishiMichael
eadf611f1e
fix: fix an incorrect typing 2022-08-22 22:05:33 +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
Grant Sanderson
cc81cc5cf5 Move unit normal refreshing to VMobject 2022-07-19 12:37:34 -07:00
Grant Sanderson
af7c58dbe8 Import DEGREES 2022-07-19 12:36:50 -07:00
Grant Sanderson
7c4bb9cbbd Include upper endpoint on graphs 2022-07-19 12:36:24 -07:00
YishiMichael
093af347aa
Refactor LabelledString and relevant classes 2022-06-11 15:15:39 +08:00
YishiMichael
93265c7341
Remove a twice-defined method 2022-05-30 10:19:52 +08:00
Grant Sanderson
0d845d5bba Bubble tweaks 2022-05-29 16:37:53 -07:00
Grant Sanderson
dfa019fcde Make sure Mobject.become remaps any attributes pointing to family members appropriately. 2022-05-29 16:37:44 -07:00
YishiMichael
a73bd5d4fe
Fix popping bug 2022-05-29 16:48:30 +08:00
YishiMichael
97ac8c9953
Expand use elements 2022-05-29 16:26:40 +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
59eba943e5
Resolve conflicts 2022-05-28 12:43:53 +08:00
YishiMichael
22a3bef670
Resolve conflicts 2022-05-28 12:40:29 +08:00
Grant Sanderson
07a8274cb1
Merge pull request #1821 from 3b1b/video-work
Video work
2022-05-24 15:20:07 -07:00
Grant Sanderson
83b4aa6b88 Let defaullt text alignment be decided in default_config 2022-05-24 15:16:59 -07:00
Grant Sanderson
ca523c8a5e Fix bubble direction 2022-05-23 11:07:51 -07:00
Grant Sanderson
ad58a9e6c1 Tiny refactor 2022-05-23 11:07:39 -07:00
YishiMichael
9386461d27
Add font attribute for Tex 2022-05-22 23:47:45 +08:00
YishiMichael
1596356385
Reuse hash_string function 2022-05-22 10:29:20 +08:00
YishiMichael
f0984487ea
Construct TexTemplate class to convert tex to svg 2022-05-21 15:56:03 +08:00
YishiMichael
cfded00f13
Fix a logistic bug (#1815) 2022-05-20 18:56:40 +08:00
YishiMichael
26de7c9ce5
Fix a logistic bug 2022-05-20 18:49:38 +08:00
YishiMichael
49723f54cb
Add necessary imports (#1804)
* Add necessary imports

* Add necessary imports

* Add necessary imports

* Add `from __future__ import annotations`
2022-05-19 22:07:06 +08:00
Grant Sanderson
cece830349 Merge branch 'master' of github.com:3b1b/manim into video-work 2022-05-17 09:19:47 -07:00
Grant Sanderson
0060a4860c Bug fix to VMobject.match_style 2022-05-11 12:46:15 -07:00
Grant Sanderson
4fdaeb1547 Fix(?) issue with numbers forgetting style info when resetting value 2022-05-11 12:45:51 -07:00
Grant Sanderson
48689c8c7b Add DecimalNumber.get_tex 2022-05-11 12:45:27 -07:00
Grant Sanderson
cd866573b5 Add about_edge argument to arrange_to_fit_width, etc. 2022-05-11 12:45:06 -07:00