Skip to content

Commit

Permalink
Add missing docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser committed Nov 30, 2024
1 parent 68608c7 commit 447e8ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions coloraide/interpolate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 447e8ff

Please sign in to comment.