Commit graph

44 commits

Author SHA1 Message Date
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
a4b38fd420 Clean up DecimalNumber constructor 2022-04-28 12:14:36 -06:00
YishiMichael
4c324767bd
Recover Mobject.scale method 2022-04-15 00:55:02 +08:00
YishiMichael
9ef9961d0e
Sort imports 2022-04-12 19:19:59 +08:00
YishiMichael
93f8d3f1ca
Some refactors on LabelledString 2022-04-06 22:38:33 +08:00
TonyCrane
9f3b404df6
resolve conflict and add type hints for it 2022-02-16 11:46:55 +08:00
Bill Xi
0bb9216c14
Update hash_obj method 2022-02-15 21:50:14 +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
Grant Sanderson
5f878a2c1a Fix match_style 2021-10-03 10:27:06 -07:00
Grant Sanderson
d19b386415 Fix dots 2021-10-01 12:31:16 -07:00
Grant Sanderson
e151334675 Alternate fix to Decimal scaling issue 2021-08-09 16:06:19 -07:00
Grant Sanderson
d3e61b962b Have DecimalNumber match full family style when setting a new value 2021-03-27 11:56:36 -07:00
Grant Sanderson
e3b74ffd7a Remove unecessary lines 2021-01-30 22:11:23 -08:00
Grant Sanderson
c292046913 Have DecimalMobject use Text instead of Tex 2021-01-30 18:13:38 -08:00
Grant Sanderson
f91c81dd6a Rename TexMobject -> Tex and TextMobject -> TexText 2021-01-18 08:20:14 -10:00
Grant Sanderson
9f5f682351 Factor out get_num_string 2021-01-13 11:11:25 -10:00
Grant Sanderson
8cc484943e Remove note 2021-01-13 09:21:00 -10:00
Grant Sanderson
bf3571c103 Have DecimalMobject look to the same cache that TexMobjects do 2021-01-13 00:24:40 -10:00
Grant Sanderson
20593d8fa8 Change how DecimalNumber.set_value works so that it's not creating new instances each time 2021-01-13 00:12:08 -10:00
Grant Sanderson
7af100489b Include font_size in data 2021-01-12 13:08:24 -10:00
Grant Sanderson
ddfc3a6567 Replace lingering .points references 2021-01-12 07:27:32 -10:00
Grant Sanderson
572383f541 Have buff between Decimal digits change with font size 2021-01-03 12:03:39 -08:00
Grant Sanderson
c2b16d768e Have decimal remember and match font size, not height 2021-01-03 11:44:53 -08:00
Grant Sanderson
df6ea06f89 Have DecimalNumber take in a font size 2020-12-17 15:59:02 -08:00
Grant Sanderson
feb6a33135 Account for fixed_in_frame in set_value 2020-06-29 18:15:40 -07:00
Grant Sanderson
fbe917d461 Add height to DecimalNumber config 2020-06-05 17:57:44 -07:00
Grant Sanderson
ea59950b2c Have mobjects track family and parents more directly 2020-02-21 10:56:40 -08:00
Grant Sanderson
6b69ed2174 Add a small todo 2020-02-18 22:32:02 -08:00
Grant Sanderson
81d91da752 Moved increment_value method to DecimalNumber 2019-04-06 14:01:04 -07:00
Guillermo Garza
ae1efc6009 Fix alignment of minus sign to numbers 2019-03-08 14:39:47 -06:00
Grant Sanderson
b2625b0667 Whoops, left a print statement 2019-02-11 20:55:19 -08:00
Grant Sanderson
94b943f544 Removed use of self.__dict__ in DecimalNumber 2019-02-10 10:56:24 -08:00
Grant Sanderson
d88c301622 Updating coordinate system mobjects 2019-02-06 21:16:26 -08:00
Grant Sanderson
20f25615a6 arrange_submobjects -> arrange 2019-02-04 14:54:25 -08:00
Grant Sanderson
a72b769c0f Made 0 a default value for DecimalNumber 2019-01-29 14:22:23 -08:00
Grant Sanderson
fc7d67e25f Fixed negative decimal issue 2019-01-18 14:14:51 -08:00
Grant Sanderson
ff87e2bfbc More clack animations 2019-01-17 14:12:14 -08:00
Grant Sanderson
2f6fc82ecb Small fix to DecimalNumber 2019-01-09 12:51:14 -08:00
Grant Sanderson
d222c8aa14 Add increment function to Integer 2019-01-04 14:14:15 -08:00
Devin Neal
3543a750ba move library code into manimlib, replace relative imports with absolute imports 2018-12-26 20:57:01 -08:00
Renamed from mobject/numbers.py (Browse further)