Grant Sanderson
ab6a7df4af
Use typing_extensions to import Self for python versions <3.11
2023-02-02 10:54:47 -08:00
Grant Sanderson
da6875ca55
Add Self type to coordinate_systems.py
2023-01-31 14:08:22 -08:00
Grant Sanderson
c469c6b009
Prevent NumberPlane from double drawing axes
2023-01-30 20:38:23 -08:00
Grant Sanderson
b85c3bd478
Remove stray import
2023-01-30 11:57:09 -08:00
Grant Sanderson
1c2ec03f7d
Replace VMobject.make_approximately_smooth with VMobject.make_smooth(approx=True)
2023-01-19 11:34:13 -08:00
Grant Sanderson
e6abff4299
Speed up bind_graph_to_func
2023-01-19 09:50:24 -08:00
Grant Sanderson
c3cd64f68c
Package reflectiveness, gloss and shadow into a single uniform "shading"
2023-01-16 19:33:57 -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
c605ac1c83
Better height, width, unit_size behavior for CoordinateSystems
2022-12-19 20:34:42 -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
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
97f28b34f3
Distinguish Vect3 from Vect3Array types
2022-12-17 13:16:48 -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
1a0eff05fa
Ensure t_range always has three entries
2022-12-16 15:02:21 -08:00
Grant Sanderson
15f03dae7b
Small fixes to Axes configuration
2022-12-16 14:47:56 -08:00
Grant Sanderson
c244f8738f
Remove stray import
2022-12-15 18:18:59 -08:00
Grant Sanderson
02143001a4
Move RangeSpecifier to constants
2022-12-15 16:46:42 -08:00
Grant Sanderson
5b5b3a7d20
Kill CONFIG in coordinate_system
2022-12-15 16:19:03 -08:00
Grant Sanderson
958002152e
Define ManimColor type in constants
2022-12-14 10:55:32 -08:00
Grant Sanderson
83393abb22
Fix bug deleting i from coordinate labels
2022-11-18 09:10:24 -08:00
Grant Sanderson
90e8a397b8
add_axis_labels for ThreeDAxes
2022-11-18 09:09:21 -08:00
Grant Sanderson
6683c9dbca
Add get_graph for 3d surfaces off of ThreeDAxes
2022-11-18 09:09:06 -08:00
Grant Sanderson
004b7427f5
Allow bound graphs to track discontinuities
2022-11-18 09:08:30 -08:00
Grant Sanderson
ce77f38bf1
Add CoordinateSystem.bind_graph_to_func
2022-11-03 11:32:25 -07:00
Grant Sanderson
7c4bb9cbbd
Include upper endpoint on graphs
2022-07-19 12:36:24 -07:00
YishiMichael
9ef9961d0e
Sort imports
2022-04-12 19:19:59 +08:00
Grant Sanderson
a9349057ad
Merge branch 'master' of github.com:3b1b/manim into video-work
2022-03-22 11:30:25 -07:00
Grant Sanderson
f690164087
Merge branch 'master' into master
2022-03-22 11:00:33 -07:00
widcardw
67f8007764
Fix the width of riemann rectangles
2022-03-17 14:10:30 +08:00
Grant Sanderson
bd6c731e67
Allow CoordinateSystem.coords_to_point to work on arrays of coords
2022-03-16 12:24:22 -07: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
Grant Sanderson
602809758e
Video work ( #1739 )
...
* Enable setting points to a null list, and adding one point at a time.
* Add refresh_locked_data
* Add presenter mode to scenes with -p option
* Allow for an embed by hitting e during interaction
* Add set_min_height, etc.
* Make sure null parametric curve has at least one point
* Account for edge case where \{ is used in Tex
* Allow for logging notes in wait calls, useful for presenter mode
* Simplify choose, and add gen_choose for fractional amounts
* Default to no top on axes
* Allow match_x, match_y, etc. to take in a point
* Allow wait calls to ignore presenter mode
* Just use math.combo, no caching with choose(n, r)
* Use generator instead of list in bezier
* Bubble init_colors should override
* Account for "px" values read in from an svg
* Stop displaying when writing is happening
* Update the way Bubble override SVG colors
2022-02-13 15:16:16 -08:00
YishiMichael
e8205a5049
Some refactors for MTex
2022-01-26 13:03:14 +08:00
Bill Xi
e80dd243f1
Added abstract method decorator and override
2022-01-17 20:27:34 +08:00
Grant Sanderson
e764da3c3a
use quick_point_from_proportion for graph points
2021-11-16 17:37:27 -08:00
Grant Sanderson
7732d2f0ee
Fix ComplexPlane -i display bug
2021-10-15 12:07:47 -07:00
Grant Sanderson
c726eb7a18
buf fix with get_lines_parallel_to_axis
2021-10-11 06:22:05 -07:00
Grant Sanderson
8645894255
Fix CoordinateSystem init bug
2021-08-24 11:26:22 -07:00
Grant Sanderson
56df15453f
Fix bug with common range array used for all coordinate systems
2021-08-19 14:47:10 -07:00
Grant Sanderson
17452dcd10
Changing plane defaults
2021-07-28 07:32:45 -07:00
Grant Sanderson
0c61c908b2
Small fixes to Axes defaults
2021-03-31 23:26:10 -07:00
Grant Sanderson
8fcb069808
Added some methods to coordinate system to access all axes ranges
2021-02-25 08:45:49 -08:00
Tony031218
de3916424f
fix x/y_range of CoordinateSystem
2021-02-10 11:03:07 +08:00
Grant Sanderson
f984443ed5
CoordinateSystem updates
2021-02-07 17:31:14 -08:00
Grant Sanderson
700d7c6def
Axes.get_v_line_to_graph and Axes.get_h_line_to_graph
2021-02-07 09:56:28 -08:00