expand type for ParametricFunction function

This commit is contained in:
Grant Sanderson 2022-12-16 15:02:35 -08:00
parent 1a0eff05fa
commit 7510c9808e

View file

@ -17,7 +17,7 @@ if TYPE_CHECKING:
class ParametricCurve(VMobject):
def __init__(
self,
t_func: Callable[[float], Sequence[float]],
t_func: Callable[[float], Sequence[float] | np_vector],
t_range: Tuple[float, float, float] = (0, 1, 0.1),
epsilon: float = 1e-8,
# TODO, automatically figure out discontinuities