A community-maintained Python framework for creating mathematical animations.
small change type typing.Callable-> float 0 -> 0.0
Syrus Darke1d39b434748
diff --git a/manim/animation/animation.py b/manim/animation/animation.pyindex d6902c477..214451584 100644--- a/manim/animation/animation.py+++ b/manim/animation/animation.py@@ -17,7 +17,7 @@ from ..mobject.mobject import Mobjectfrom ..utils.rate_functions import smoothDEFAULT_ANIMATION_RUN_TIME: float = 1.0-DEFAULT_ANIMATION_LAG_RATIO: float = 0+DEFAULT_ANIMATION_LAG_RATIO: float = 0.0class Animation:diff --git a/manim/utils/rate_functions.py b/manim/utils/rate_functions.pyindex 21142ba44..9b68ab487 100644--- a/manim/utils/rate_functions.py+++ b/manim/utils/rate_functions.py@@ -164,7 +164,7 @@ def squish_rate_func(# "lingering", different from squish_rate_func's default params-def lingering(t: float) -> typing.Callable: # not sure of return type+def lingering(t: float) -> float: # not sure of return typereturn squish_rate_func(lambda t: t, 0, 0.8)(t)