mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-26 07:04:45 +03:00
Typing: Clarify that this is a single band extrema
This commit is contained in:
parent
bebece4672
commit
a0bdadf012
|
@ -1382,7 +1382,7 @@ class Image(object):
|
|||
return self.im.histogram((0, 0), mask.im)
|
||||
if self.mode in ("I", "F"):
|
||||
if extrema is None:
|
||||
extrema = self.getextrema()
|
||||
extrema = self.im.getextrema()
|
||||
return self.im.histogram(extrema)
|
||||
return self.im.histogram()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user