Pillow: Allow float(s) for cutoff param of autocontrast (#11409)

This commit is contained in:
pa-tna
2024-02-12 13:07:03 +00:00
committed by GitHub
parent 13aed8a1c2
commit 2c43162728

View File

@@ -13,7 +13,7 @@ class _Deformer(Protocol):
def autocontrast(
image: Image,
cutoff: int | tuple[int, int] = 0,
cutoff: float | tuple[float, float] = 0,
ignore: int | None = None,
mask: Image | None = None,
preserve_tone: bool = False,