mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 18:47:46 +00:00
expand type for ParametricFunction function
This commit is contained in:
parent
1a0eff05fa
commit
7510c9808e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue