mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Pillow: Allow float(s) for cutoff param of autocontrast (#11409)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user