2c20a1509e
Remoe height defaults form __init__args of SingleStringTex and String
2022-12-19 14:43:10 -08:00
ef64b90ed3
Allow for default height/width of SVGMobject specified as class variables
2022-12-19 14:42:04 -08:00
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
4632228cac
Merge pull request #1937 from 3b1b/video-work
...
Small bug fixes and refactorings
2022-12-19 11:40:41 -08:00
d79e1d6ed8
Move shell instantiation to beginning of checkpoint_paste
2022-12-19 11:36:28 -08:00
6615a912bd
Add default_camera_config class variable to Scene, likewise for window and file_writer configuration
2022-12-19 11:35:43 -08:00
99fa3ee620
Refactor Scene.embed and checkpoint_paste
2022-12-19 10:51:26 -08:00
c330dfddae
Add space
2022-12-19 10:38:06 -08:00
ba93bd0cbf
Replace unit_size with get_unit_size()
2022-12-18 19:52:59 -08:00
b1f363d5a9
Expand input type for AnimationGroup
2022-12-18 19:52:48 -08:00
e5c13ba9d7
Use shell.run_cell instead of paste line magic
...
Because %paste -q line magic introduces issues with IPython 8.2 and above
2022-12-18 12:20:14 -08:00
3c04ffc513
Better functionality for default axis configuration on coordinate systems
2022-12-18 12:19:26 -08:00
4f6c387a03
Edit interact message
2022-12-18 12:01:33 -08:00
38c4fd8770
Remove unnecessary save
2022-12-18 11:54:57 -08:00
3e4b6a7fb0
Add show_progress and skip options to checkpoint_paste
2022-12-18 11:21:57 -08:00
af471161ea
Fix 'Failed to get module" warning with Scene embed
2022-12-18 11:11:08 -08:00
e728196814
Remove implicit string concatenation
2022-12-18 10:50:34 -08:00
99dbf6b8c3
Edited insert_embed_line to write over existing file rather than creating a new one
...
Otherwise behavior of things like __file__ is not as expected.
2022-12-18 10:50:17 -08:00
07feb33cbb
Merge pull request #1932 from 3b1b/kill-config
...
Kill config
2022-12-18 10:27:15 -08:00
44b7d33784
Delete config.rst
2022-12-18 09:40:51 -08:00
0433cd727c
Tweak type hints in matrix.py
2022-12-18 09:38:46 -08:00
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
903e140719
Add from __future__ import annotations
2022-12-18 09:13:11 -08:00
f8b39f2ff1
Allow Scalable type to be any FloatArray
2022-12-18 09:11:16 -08:00
6f0020950f
Make Scalable a Typevar
2022-12-17 22:28:53 -08:00
7ac78f3dbb
Updating type hints for paths.py
2022-12-17 22:14:53 -08:00
f53fad1a96
Avoid implicit string concatenation
2022-12-17 22:14:43 -08:00
c96a698713
Remove unused drag_pixels
2022-12-17 22:14:30 -08:00
f6ff226cd4
Remove stray imports
2022-12-17 22:14:20 -08:00
4dec67f9fe
Move unused (and slightly absurd) dict-related helper functions to 3b1b/videos/once_useful_constructs
2022-12-17 22:00:37 -08:00
0dab04080e
No need to have a get_runtime helper when many other options exist
2022-12-17 21:53:15 -08:00
fd20ead11b
Update output type for make_even
2022-12-17 21:51:01 -08:00
3f024175d4
Add check for invalid entries to Mobject.set_points
2022-12-17 19:52:34 -08:00
26ff1a9716
Fix bug associated with GlowDot having None points list
2022-12-17 19:49:04 -08:00
d4a29df99c
Remove needless data["points"] reference
2022-12-17 19:48:47 -08:00
75979eb7d1
Add NULL_POINTS constant
2022-12-17 19:48:27 -08:00
365bb12dce
Change type hints for set_points and append_points to Vect3Array
2022-12-17 19:31:43 -08:00
0115037c82
Include types in universal imports
2022-12-17 19:31:27 -08:00
38db5ca9b9
Replace handle_play_like_call with pre_play and post_play method
2022-12-17 18:59:05 -08:00
24fd6d890e
Tweak type hints for bezier.py
2022-12-17 18:35:26 -08:00
810f2c67ab
Make handle_play_like_call a static method
2022-12-17 18:11:38 -08:00
bd537afe72
Remove skip and show_progress options of checkpoint_paste
2022-12-17 18:11:25 -08:00
3e8738de2a
Fix output type of VMobject.get_subpaths_from_points
2022-12-17 18:04:55 -08:00
b817e6f15f
Tweak type hints in color.py
2022-12-17 17:29:49 -08:00
5b697b3782
Remove stray import
2022-12-17 17:29:39 -08:00
0e558db122
Add a few type hints to specify VMobject family always consists of VMobjects
2022-12-17 17:03:34 -08:00
1f0427d685
Add height as attribute to SVGMobject
2022-12-17 13:17:12 -08:00
534770180d
Remove stray import
2022-12-17 13:16:55 -08:00
97f28b34f3
Distinguish Vect3 from Vect3Array types
2022-12-17 13:16:48 -08:00
8db20cc460
Small fix
2022-12-16 20:59:14 -08:00