From 447e8ffe4c9e9c3233a766cb15ee1ea1ac5e50b9 Mon Sep 17 00:00:00 2001 From: facelessuser Date: Sat, 30 Nov 2024 08:40:00 -0700 Subject: [PATCH] Add missing docstring --- coloraide/interpolate/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/coloraide/interpolate/__init__.py b/coloraide/interpolate/__init__.py index b80951ba..043e0a96 100644 --- a/coloraide/interpolate/__init__.py +++ b/coloraide/interpolate/__init__.py @@ -320,6 +320,7 @@ def steps( return [i[1] for i in ret] def premultiply(self, coords: Vector, alpha: float | None = None) -> None: + """Apply premultiplication to semi-transparent colors.""" if alpha is not None: coords[-1] = alpha