mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 13:07:44 +00:00
Added type for ValueTracker
This commit is contained in:
parent
12d4b48508
commit
15a446977f
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ class ValueTracker(Mobject):
|
|||
"value_type": np.float64,
|
||||
}
|
||||
|
||||
def __init__(self, value: float | complex = 0, **kwargs):
|
||||
def __init__(self, value: float | complex | np.ndarray = 0, **kwargs):
|
||||
self.value = value
|
||||
super().__init__(**kwargs)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue