Allow Scalable type to be any FloatArray

This commit is contained in:
Grant Sanderson
2022-12-18 09:11:16 -08:00
parent 6f0020950f
commit f8b39f2ff1
2 changed files with 26 additions and 19 deletions

View File

@ -15,9 +15,7 @@ if TYPE_CHECKING:
from typing import Callable, Sequence, TypeVar
from manimlib.typing import VectN, FloatArray
T = TypeVar("T")
Scalable = TypeVar("Scalable", float, VectN)
Scalable = TypeVar("Scalable", float, FloatArray)
CLOSED_THRESHOLD = 0.001