mirror of
https://github.com/3b1b/manim.git
synced 2025-08-03 04:04:36 +08:00
Added type for ValueTracker
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user