4458 Commits

Author SHA1 Message Date
2a0709664d Add explicit return statement 2022-03-17 11:33:53 +08:00
de46df78dc Modify warning message 2022-03-17 10:58:41 +08:00
2d764e12f4 fix char escaping bug 2022-03-03 21:09:05 +08:00
d744311f15 add warning for slicing methods 2022-03-03 20:47:44 +08:00
11af9508f2 add back get_parts_by_text, get_part_by_text methods 2022-03-03 20:38:15 +08:00
a227ffde05 PEP8: reorder imports 2022-03-02 20:28:26 +08:00
e0b0ae280e Allow passing strings to local_configs 2022-03-02 19:59:14 +08:00
fce38fd8a5 Modify default value of apply_space_chars 2022-03-02 19:52:45 +08:00
52a99a0c49 Add global_config, local_configs params 2022-03-02 19:34:56 +08:00
956e3a69c7 Refactor Text 2022-03-02 18:38:24 +08:00
95a3ac6876 Refactor Text 2022-02-26 20:36:32 +08:00
b06a5d3f23 Refactor Text 2022-02-26 20:31:26 +08:00
fa8962e024 Refactor Text 2022-02-20 23:35:48 +08:00
0a4c4d5849 Merge branch '3b1b:master' into master 2022-02-20 23:34:10 +08:00
e879da32d5 Specify UTF-8 encoding for tex files (#1748) 2022-02-17 19:09:55 +08:00
6b12bc2f5e Merge branch '3b1b:master' into master 2022-02-17 19:06:17 +08:00
4aeccd7769 Specify UTF-8 encoding for tex files 2022-02-17 19:03:45 +08:00
4356c42e00 release: ready to release v1.5.0 v1.5.0 2022-02-16 12:01:03 +08:00
aea79be6cc workflow: only build wheels for python 3.6+ 2022-02-16 11:59:33 +08:00
8ef42fae24 Merge branch 'master' of https://github.com/3b1b/manim 2022-02-16 11:21:20 +08:00
6be6bd3075 docs: change the style of changelog 2022-02-16 11:20:08 +08:00
a33eac7aa8 docs: update changelog for #1742 #1744 #1745 #1746 2022-02-16 11:17:37 +08:00
9d6a28bc29 Merge pull request #1746 from 3b1b/video-work
Change interaction-to-embed keybinding
2022-02-15 10:14:18 -08:00
06405d5758 Merge branch 'master' of github.com:3b1b/manim into video-work 2022-02-15 10:11:35 -08:00
46e356e791 Change keyboard shortcut to drop into an embedding to be ctrl+shift+e 2022-02-15 10:10:57 -08:00
97ca42d454 Merge pull request #1745 from YishiMichael/master
Reorganize inheriting order and refactor SVGMobject
2022-02-15 10:05:53 -08:00
a4eee6f44c Merge pull request #1744 from TurkeyBilly/patch-3
Add text_config for DecimalNumber
2022-02-15 09:59:46 -08:00
8cac16b452 Update display_during_execution 2022-02-15 21:59:09 +08:00
719cd8cde3 Remove redundant brackets 2022-02-15 21:54:56 +08:00
0bb9216c14 Update hash_obj method 2022-02-15 21:50:14 +08:00
6f9df8db26 Improve hashing algorithm 2022-02-15 21:38:22 +08:00
3756605a45 Update display_during_execution 2022-02-15 20:55:44 +08:00
0cab23b2ba Reorganize inheriting order of SVGMobject 2022-02-15 20:16:15 +08:00
aef02bfcf9 changed hashing 2022-02-15 11:45:17 +08:00
9d04e287d7 Removed init_colors 2022-02-15 10:20:06 +08:00
97c0f4857b Update numbers.py
Added config passing for text
2022-02-15 09:35:10 +08:00
7f9b0a7eac Merge pull request #1742 from 3b1b/video-work
Presenter mode bug fix
2022-02-14 07:58:55 -08:00
133724d29a Allow for using right arrow in presenter mode 2022-02-14 07:56:26 -08:00
559b96e7ce Small bug fix for presenter mode 2022-02-14 07:52:06 -08:00
f29ef87bba style/docs: fix argument help style and update docs for it 2022-02-14 19:50:30 +08:00
fc1e916f42 docs: update changelog for #1725 #1727 #1728 #1731 #1739 #1740 2022-02-14 14:03:51 +08:00
b3b7d214ad Fix Write bug (#1740)
* Avoid division by zero error for calling Write on null objects
2022-02-13 20:04:05 -08:00
602809758e Video work (#1739)
* Enable setting points to a null list, and adding one point at a time.

* Add refresh_locked_data

* Add presenter mode to scenes with -p option

* Allow for an embed by hitting e during interaction

* Add set_min_height, etc.

* Make sure null parametric curve has at least one point

* Account for edge case where \{ is used in Tex

* Allow for logging notes in wait calls, useful for presenter mode

* Simplify choose, and add gen_choose for fractional amounts

* Default to no top on axes

* Allow match_x, match_y, etc. to take in a point

* Allow wait calls to ignore presenter mode

* Just use math.combo, no caching with choose(n, r)

* Use generator instead of list in bezier

* Bubble init_colors should override

* Account for "px" values read in from an svg

* Stop displaying when writing is happening

* Update the way Bubble override SVG colors
2022-02-13 15:16:16 -08:00
f9351536e4 minor fixes (#1737) 2022-02-13 11:12:41 +08:00
67f5b10626 Attempt to refactor SVGMobject with svgelements (#1731)
* Some small refactors

* Refactor MTex

* Implement TransformMatchingMTex

* Some refactors

* Some refactors

* Some small refactors

* Strip strings before matching

* Implement get_submob_tex

* Use RGB color mode

* Some small refactors

* Try refactoring SVGMobject with svglib

* Refactor SVGMobject using svgelements

* Refactor SVGMobject using svgelements

* Use functions instead of func names as dict values

* style: modify import order to conform to PEP8

* Set default values to None

* modify import order

* Remove unused import

Co-authored-by: TonyCrane <tonycrane@foxmail.com>
2022-02-11 07:53:21 -08:00
baba6929df Implement ImplicitFunction (#1727) 2022-02-07 08:24:40 -08:00
d6b20a7306 Refactor MTex and implement TransformMatchingMTex (#1725)
* Some small refactors

* Refactor MTex

* Implement TransformMatchingMTex

* Some refactors

* Some refactors

* Some small refactors

* Strip strings before matching

* Implement get_submob_tex

* Use RGB color mode

* Some small refactors
2022-02-07 08:21:53 -08:00
4c3ba7f674 Clean dependencies (#1728)
* clean dependencies

* add classifiers to metadata
2022-02-05 22:13:34 +08:00
3883f57bf8 release: ready to release v1.4.1 v1.4.1 2022-02-04 11:03:37 +08:00
d2e0811285 import Iterable from collections.abc instead of collections 2022-02-04 10:55:59 +08:00