Added type for ValueTracker

This commit is contained in:
Grant Sanderson
2022-11-18 09:11:59 -08:00
parent 12d4b48508
commit 15a446977f

View File

@ -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)