640 Commits

Author SHA1 Message Date
bccc17a3ac Merge pull request #1555 from 3b1b/revert-1543-master
Scale `Text` correctly | Revert "Fixed the default size of Text"
2021-06-19 09:30:40 -07:00
663c57ba74 a little fix to TEXT_MOB_SCALE_FACTOR 2021-06-19 19:33:53 +08:00
26e9b9cd7c added the missing import line in mobject.py 2021-06-19 18:30:23 +08:00
d14f22c5ba Revert "Fixed the default size of Text" 2021-06-19 13:11:36 +08:00
128178b46e Merge branch 'master' into master 2021-06-18 12:25:00 -07:00
5765ab9055 Move 0.3 constant to DEFAULT_LINE_SPACING_SCALE 2021-06-19 00:43:01 +05:30
6eb7edc664 Scale Text Correctly
Change TEXT_MOB_SCALE_FACTOR value
Also deprecate `size` parameter

Also, now text isn't scaled when increasing font size
instead it is passed to the underlying enging
for handling. Though always a Text object is scaled
with a default value so that it fits the screen.

Signed-off-by: Naveen M K <naveen@syrusdark.website>
2021-06-18 17:59:15 +05:30
17d75bd336 Fixed the size of Text on different machines 2021-06-15 18:14:06 +08:00
607ef334e9 Fix Lightbulb 2021-06-14 09:56:35 -07:00
1c2942798e Merge branch 'master' of github.com:3b1b/manim into quick-eigen-video 2021-06-14 09:54:20 -07:00
e9ea5fbea0 Merge pull request #1481 from libinglong/lbl-fix-tex
fix issue #1480
2021-06-14 09:50:20 -07:00
f45d81be11 some improvement to tip
rename tip_look to tip_style
set the default of tip_style to 0
2021-06-14 16:13:53 +08:00
e885ec6ecd Fix the color of tip 2021-06-13 21:07:25 +08:00
ed9a4bd9eb Merge remote-tracking branch 'upstream/master' into shaders 2021-05-14 16:42:07 +08:00
d54b796154 Change default to non-flat stroke 2021-05-07 16:07:49 -07:00
d279272762 Small cleanup for TexMobject, and remove {{ }} separation convention 2021-04-28 08:50:50 -07:00
29e5a8bc90 fix issue #1480 2021-04-17 22:30:08 +08:00
e727faaccb Add a custom style to ArrowTip. 2021-04-13 17:40:48 +08:00
c1ad893030 Fix a wrong function name. 2021-04-09 22:06:20 +08:00
c45ff910f0 Remove double brace convention, since it causes errors with a number of tex strings 2021-04-08 14:46:03 -07:00
22d9c57f60 Merge pull request #1419 from JWro/patch-1
Fix init of Elbow super class
2021-04-08 14:22:47 -07:00
0c61c908b2 Small fixes to Axes defaults 2021-03-31 23:26:10 -07:00
82658e1db3 Change default element alignment for integer matrices 2021-03-31 23:25:43 -07:00
de9ecbd766 Remove unnecessary import 2021-03-31 23:24:55 -07:00
ca9f4357fa Allow configuration in Brace.get_text 2021-03-31 23:23:34 -07:00
e95aa69c4c Change arg_separator default 2021-03-31 23:22:54 -07:00
6997cc9501 Have Mobject.match_points return self 2021-03-27 11:57:50 -07:00
7f47815230 Change some defaults and add Matrix.get_rows method 2021-03-27 11:56:58 -07:00
d3e61b962b Have DecimalNumber match full family style when setting a new value 2021-03-27 11:56:36 -07:00
88f0c24c69 Decompose ellipse manipulations 2021-03-24 14:00:46 -07:00
09579fcd3e Not a great long-term fix, but flipping should always refresh the triangulation 2021-03-24 13:58:52 -07:00
01d989ba23 Fix a bug for off-center vector fields 2021-03-24 13:58:18 -07:00
6c3e4b94ea Add min_scale_factor to keep Mobjects from shrinking to 0, and hence losing all shape information, unless its purposeful 2021-03-23 08:50:10 -07:00
52baf5b7c2 Change matrix entry alignment default 2021-03-23 08:46:13 -07:00
fd18e4a21f Fixed missing arg in self.get_parts_by_text 2021-03-19 10:55:04 -07:00
5126dd1f52 New defaults for FullScreenRectangle 2021-03-18 17:42:19 -07:00
8345ca6160 Small fixes to NumberLine 2021-03-18 17:37:12 -07:00
611ac7f448 Update to Cross to make it default to variable stroke width 2021-03-18 17:36:46 -07:00
933b7fd3da Use Text not TexText for Brace 2021-03-18 17:35:23 -07:00
15f3b359ae Added Text.get_parts_by_text 2021-03-18 17:34:57 -07:00
0e326c7ac5 Return stroke_width as 1d array 2021-03-18 17:34:36 -07:00
ed2e3e80d9 Updates to VectorField 2021-03-18 17:34:16 -07:00
63b497c352 Fix init of Elbow super class 2021-02-26 10:46:19 +01:00
eec396681c Updated VectorField and StreamLines 2021-02-25 08:47:29 -08:00
d06b3769b8 Added Mobject.set_color_by_rgba_func 2021-02-25 08:46:56 -08:00
8fcb069808 Added some methods to coordinate system to access all axes ranges 2021-02-25 08:45:49 -08:00
ba3bb64bce register_font is available for macOS
https://github.com/ManimCommunity/ManimPango/pull/26
2021-02-19 00:49:50 +05:30
1543450a4f Update changing.py
To fix the error of "AttributeError: 'TracedPath' object has no attribute 'n_points_per_cubic_curve'" (because in the CONFIG dictionary of VMobject class, the n_points_per_cubic_curve dose not exist, and now 'n_points_per_curve' is used instead)
2021-02-13 21:07:00 +08:00
c9e223485c fix Text incorrect coloring 2021-02-13 17:51:43 +08:00
8f502f2790 Small style changes 2021-02-12 13:34:16 -08:00