Commit graph

35 commits

Author SHA1 Message Date
Varniex
5d3f730824
Cleaning up some imports + Minor Bug fixed in VectorField (#2253)
* cleaning up imports

* sample_points -> sample_coords
2024-12-05 14:42:46 -08:00
Grant Sanderson
f5d1a9c449 Keep track of original float matrix in DecimalMatrix 2024-03-25 19:10:42 -03:00
Grant Sanderson
a5f2ac689f Spacing 2024-03-07 08:40:10 -03:00
Grant Sanderson
7b577e9fc1 Have matrix keep track of elements and ellipses as lists instead of VGroups 2024-02-13 14:52:16 -06:00
Grant Sanderson
578427543c Add defaults for Matrix object to have ellipses 2024-02-09 17:48:02 -06:00
Grant Sanderson
45f8ca7643 Specify output type for DecimalMatrix.element_to_mobject 2024-02-08 14:44:12 -06:00
Grant Sanderson
855ef9be8d Refactor Matrix, DecimalMatrix, MobjectMatrix, etc. 2024-01-18 11:12:42 -06:00
Grant Sanderson
4ec2e8b0c5 Merge branch 'master' of github.com:3b1b/manim into video-work 2023-02-02 11:22:58 -08:00
Grant Sanderson
ab6a7df4af Use typing_extensions to import Self for python versions <3.11 2023-02-02 10:54:47 -08:00
Grant Sanderson
9ef14c7260 Change default h_buff on Matrix 2023-02-01 11:38:54 -08:00
Grant Sanderson
74a11bb05c Add Self type to matrix.py 2023-01-31 14:13:47 -08:00
Grant Sanderson
cc9a4501ad Have **kwargs in matrix pass on to elements 2022-12-28 19:40:02 -08:00
Grant Sanderson
33682b7199 MTex is the new Tex, Tex is now OldTex
Global replace
Tex -> OldTex
TexText -> OldTexText
MTex -> Tex
MTexText -> TexText
2022-12-21 13:18:20 -08:00
Grant Sanderson
6d5b980d4a Replace Tex and MTex throughout library 2022-12-20 15:22:34 -08:00
Grant Sanderson
0433cd727c Tweak type hints in matrix.py 2022-12-18 09:38:46 -08:00
Grant Sanderson
dec11a4b17 Rename np_vector type to Vect3 or Vect4 to make context clearer 2022-12-16 20:35:26 -08:00
Grant Sanderson
43fd5e1aea Move custom type to manimlib.typing 2022-12-16 20:19:18 -08:00
Grant Sanderson
a7d7ed0793 Kill CONFIG, and slightly refactor, matrix.py 2022-12-15 20:09:52 -08:00
Grant Sanderson
958002152e Define ManimColor type in constants 2022-12-14 10:55:32 -08: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
YishiMichael
9ef9961d0e
Sort imports 2022-04-12 19:19:59 +08:00
TonyCrane
4fbe948b63
style: insert an empty line after import 2022-02-16 21:08:25 +08:00
TonyCrane
4c16bfc2c0
chore: add type hints to manimlib.mobject 2022-02-15 14:37:15 +08:00
Elisha Hollander
f9351536e4
minor fixes (#1737) 2022-02-13 11:12:41 +08:00
BillyLikesHacking
cfd362aa56
Update matrix.py 2021-10-12 09:04:30 +08:00
Grant Sanderson
82658e1db3 Change default element alignment for integer matrices 2021-03-31 23:25:43 -07:00
Grant Sanderson
7f47815230 Change some defaults and add Matrix.get_rows method 2021-03-27 11:56:58 -07:00
Grant Sanderson
52baf5b7c2 Change matrix entry alignment default 2021-03-23 08:46:13 -07:00
Grant Sanderson
f91c81dd6a Rename TexMobject -> Tex and TextMobject -> TexText 2021-01-18 08:20:14 -10:00
Grant Sanderson
2e3a112ff8 Treat Matrix.mob_matrix as list rather than numpy matrix, since it sometimes interprets mobjects as sequences 2021-01-13 09:20:11 -10:00
Grant Sanderson
821857afa8 Fixed braces on Matrix 2020-08-30 16:00:59 -07:00
Grant Sanderson
ee04922400 Add options for bracket spacing in Matrix 2019-03-24 11:33:23 -07:00
Grant Sanderson
5a88ad2933 Fix get_det_text 2019-03-16 22:12:31 -07:00
Grant Sanderson
5c79d80187 Fix to Matrix 2019-03-13 05:20:56 -07: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/matrix.py (Browse further)