Typing: Clarify that this is a single band extrema

This commit is contained in:
Eric Soroos 2018-01-04 12:10:29 +00:00
parent bebece4672
commit a0bdadf012

View File

@ -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()