Grant Sanderson
2c20a1509e
Remoe height defaults form __init__args of SingleStringTex and String
2022-12-19 14:43:10 -08:00
Grant Sanderson
ef64b90ed3
Allow for default height/width of SVGMobject specified as class variables
2022-12-19 14:42:04 -08:00
Grant Sanderson
f158d3e751
Give unit_normal refreshing the same behavior as triangulation
...
That is, don't actually compute it until it needs to be. This is necessary so that VMobject.append_points can refresh both of those, without effecting SVG initialization.
2022-12-19 14:41:06 -08:00
Grant Sanderson
c330dfddae
Add space
2022-12-19 10:38:06 -08:00
Grant Sanderson
ba93bd0cbf
Replace unit_size with get_unit_size()
2022-12-18 19:52:59 -08:00
Grant Sanderson
3c04ffc513
Better functionality for default axis configuration on coordinate systems
2022-12-18 12:19:26 -08:00
Grant Sanderson
07feb33cbb
Merge pull request #1932 from 3b1b/kill-config
...
Kill config
2022-12-18 10:27:15 -08:00
Grant Sanderson
0433cd727c
Tweak type hints in matrix.py
2022-12-18 09:38:46 -08:00
Grant Sanderson
c96cdf43a1
Make sure mutability of dict arguments won't cause problems
...
One could argue that a pattern of "arg: dict | None = None" followed by "self.param = arg or dict()" is better, but that would make for an inconsistent pattern in cases where the default argument is not None.
2022-12-18 09:38:28 -08:00
Grant Sanderson
3f024175d4
Add check for invalid entries to Mobject.set_points
2022-12-17 19:52:34 -08:00
Grant Sanderson
26ff1a9716
Fix bug associated with GlowDot having None points list
2022-12-17 19:49:04 -08:00
Grant Sanderson
d4a29df99c
Remove needless data["points"] reference
2022-12-17 19:48:47 -08:00
Grant Sanderson
365bb12dce
Change type hints for set_points and append_points to Vect3Array
2022-12-17 19:31:43 -08:00
Grant Sanderson
3e8738de2a
Fix output type of VMobject.get_subpaths_from_points
2022-12-17 18:04:55 -08:00
Grant Sanderson
0e558db122
Add a few type hints to specify VMobject family always consists of VMobjects
2022-12-17 17:03:34 -08:00
Grant Sanderson
1f0427d685
Add height as attribute to SVGMobject
2022-12-17 13:17:12 -08:00
Grant Sanderson
534770180d
Remove stray import
2022-12-17 13:16:55 -08:00
Grant Sanderson
97f28b34f3
Distinguish Vect3 from Vect3Array types
2022-12-17 13:16:48 -08:00
Grant Sanderson
8db20cc460
Small fix
2022-12-16 20:59:14 -08:00
Grant Sanderson
5625f63ca2
Clean up SVG.__Init__ and fix style issue
2022-12-16 20:59:02 -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
c00af3c1bf
Rename config_ops -> dict_ops
2022-12-16 18:59:23 -08:00
Grant Sanderson
2bab16133d
Fix textured path bug
2022-12-16 15:04:15 -08:00
Grant Sanderson
d798f5ebf0
Small bug fix
2022-12-16 15:02:42 -08:00
Grant Sanderson
7510c9808e
expand type for ParametricFunction function
2022-12-16 15:02:35 -08:00
Grant Sanderson
1a0eff05fa
Ensure t_range always has three entries
2022-12-16 15:02:21 -08:00
Grant Sanderson
123f7e5a30
Better default color behavior
2022-12-16 14:48:13 -08:00
Grant Sanderson
15f03dae7b
Small fixes to Axes configuration
2022-12-16 14:47:56 -08:00
Grant Sanderson
c6fc8dcf45
Remove stray import
2022-12-16 11:41:49 -08:00
Grant Sanderson
b21f5bad00
Fix small t2c issue
2022-12-16 11:41:42 -08:00
Grant Sanderson
afab37c2d2
Remove stray digest_config references
2022-12-16 11:00:59 -08:00
Grant Sanderson
a1cbff46b8
Remove CONFIG vestiges
2022-12-16 10:54:28 -08:00
Grant Sanderson
ea4a47aeef
Kill CONFIG in mtex_mobject.py
2022-12-16 10:54:14 -08:00
Grant Sanderson
0ad2f18ca6
Delete ShowPassingFlashWithThinningStrokeWidth
2022-12-16 10:16:52 -08:00
Grant Sanderson
89770158de
Kill CONFIG in vector_field.py
2022-12-16 10:16:13 -08:00
Grant Sanderson
271e2f0865
Kill CONFIG in value_tracker.py
2022-12-16 10:02:12 -08:00
Grant Sanderson
ae52f19a4a
Remove stray CONFIG vestiges
2022-12-16 10:02:03 -08:00
Grant Sanderson
c2cf261c81
Kill CONFIG in three_dimensions.py
2022-12-16 09:56:38 -08:00
Grant Sanderson
880aaf913f
Change default fill from WHITE to GREY_C
2022-12-16 09:56:29 -08:00
Grant Sanderson
72aaed57d5
Push depth_test into __init__ args
2022-12-16 09:56:17 -08:00
Grant Sanderson
f64cae1db4
Push depth_test into __init__ args
2022-12-16 09:56:03 -08:00
Grant Sanderson
9e077b29db
Specify fill_color/stroke_color instead of color
2022-12-16 09:55:50 -08:00
Grant Sanderson
a04d4c0d79
Kill CONFIG in shape_matchers
2022-12-15 20:48:53 -08:00
Grant Sanderson
fa7ee22c46
Kill CONFIG in probability.py
2022-12-15 20:40:13 -08:00
Grant Sanderson
7e46c87fc5
Kill CONFIG in numbers.py
2022-12-15 20:33:58 -08:00
Grant Sanderson
9039fe69e4
Kill CONFIG in number_line.py
2022-12-15 20:26:10 -08:00
Grant Sanderson
451f1df830
Small nudge to import order
2022-12-15 20:11:32 -08:00
Grant Sanderson
a7d7ed0793
Kill CONFIG, and slightly refactor, matrix.py
2022-12-15 20:09:52 -08:00
Grant Sanderson
9d65ef3cae
Kill CONFIG in interactives.py
2022-12-15 18:29:05 -08:00