829 Commits

Author SHA1 Message Date
2bd25a55fa add back override parameter to init_colors 2022-01-28 00:20:13 +08:00
831b7d455c Handle explicit color-related commands 2022-01-27 23:09:05 +08:00
c315300ff1 Merge branch 'master' into master 2022-01-26 08:54:18 -08:00
8a29de5ef0 Override style for Text 2022-01-26 08:21:00 -08:00
ecb729850a Small style fixes 2022-01-26 08:20:45 -08:00
a770291053 Include style in MTex.get_mobjects_from 2022-01-26 08:20:38 -08:00
942a7e71b8 Update MTex 2022-01-26 23:46:13 +08:00
ebb75d1235 cached SVGMobject in SingleStringTex with default color 2022-01-26 20:37:44 +08:00
9af23415a2 synchronize SingleStringTex's color to SVGMobject 2022-01-26 20:20:48 +08:00
19778e405a some cleanups 2022-01-26 19:55:47 +08:00
833e40c2d4 fix default style 2022-01-26 19:50:27 +08:00
9df53b8a18 fix the bug of M command with more than 2 args 2022-01-26 14:05:01 +08:00
ff86b0e378 fix the bug of outdated relative_point after command Z 2022-01-26 13:56:42 +08:00
92adcd75d4 add style support to svg 2022-01-26 13:53:53 +08:00
e8205a5049 Some refactors for MTex 2022-01-26 13:03:14 +08:00
6c8dd14adc some clean 2022-01-26 11:00:57 +08:00
07f84e2676 Merge pull request #1712 from 3b1b/fix-svg
Improve handling of SVG transform and Some refactors
2022-01-25 13:26:40 -08:00
8db1164ece some refactors 2022-01-25 21:48:04 +08:00
790bf0a104 fix typo 2022-01-25 20:25:30 +08:00
8205edcc4c fix a small bug 2022-01-25 20:13:20 +08:00
05b3c9852e fix add_smooth_cubic_curve_to when have only one point 2022-01-25 20:06:00 +08:00
925f2e123f add comments 2022-01-25 19:54:19 +08:00
565763a2ff reconstruct path parser 2022-01-25 19:44:42 +08:00
6a74c241b8 fix bug of node which is not an element 2022-01-25 16:28:23 +08:00
416cc8e6d5 add warning for unsupported element type 2022-01-25 14:41:11 +08:00
d694aed452 add support for skewX and skewY transform 2022-01-25 14:40:02 +08:00
11379283aa add support for rotate transform 2022-01-25 14:29:47 +08:00
dd13559b11 replace warnings.warn with log.warning 2022-01-25 14:09:05 +08:00
1658438fef allow Mobject.scale receive iterable scale_factor 2022-01-25 14:05:32 +08:00
f4eb2724c5 refactor SVGMobject.handle_transforms 2022-01-25 14:04:35 +08:00
33f720c73a fix typo 2022-01-25 13:15:53 +08:00
bbb4fa155c fix the depth of svg tag 2022-01-25 13:14:19 +08:00
e80dd243f1 Added abstract method decorator and override 2022-01-17 20:27:34 +08:00
24e3caa072 fix no "import copy" bug
added import copy
2022-01-03 16:49:00 +08:00
9efd02c500 Remove spelling mistake
I misspelled "label"
2022-01-03 16:37:26 +08:00
0a318486c5 Adding "lable_buff" config parameter for Brace 2022-01-03 14:57:16 +08:00
505b229117 Merge pull request #1697 from 3b1b/video-work
Video work
2021-12-21 10:59:50 -08:00
7aa05572ab Remove unnecessary import 2021-12-21 10:58:41 -08:00
f1996f8479 Small hack for the lightbulb, needs to be fixed properly later 2021-12-21 10:58:33 -08:00
84fd657d9b Change variables names: x_tick, x_ticks, y_tick, y_ticks 2021-12-17 15:02:10 +07:00
b489490f41 Fixed things as suggestions 2021-12-17 07:14:37 +07:00
bbf45f95c6 Add option to add ticks on x-axis in BarChart() 2021-12-16 22:03:29 +07:00
3adaf8e325 Merge pull request #1678 from YishiMichael/master
Construct `MTex`
2021-12-13 16:09:55 -08:00
a1d51474ea Add GlowDot 2021-12-13 16:03:57 -08:00
83841ae415 Add Dodecahedron 2021-12-13 16:03:46 -08:00
758f329a06 Use array copy when checking need for refreshing triangulation 2021-12-13 16:02:47 -08:00
8f1dfabff0 VectorizedPoint should call __init__ for both super classes 2021-12-13 16:02:10 -08:00
7fa01d5de8 Small formatting change 2021-12-13 16:01:54 -08:00
0de303d5e0 Some refactors
- Split out `_TexParser` class
- Replace `math_mode` parameter with `tex_environment`
- Fix the bug that braces following even number of backslashes aren't matched
2021-12-13 21:01:27 +08:00
155839bde9 Add unbreakable_commands parameter 2021-12-13 12:46:29 +08:00