Skip to content

Commit

Permalink
Merge pull request #33 from radarhere/document-extrema
Browse files Browse the repository at this point in the history
Changed wording
  • Loading branch information
hugovk committed Mar 31, 2019
2 parents 6f24eda + 7fd0a14 commit 09c320e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/reference/ImageStat.rst
Expand Up @@ -24,9 +24,8 @@ for a region of an image.
returns the low and high bins used. This is correct for images with 8 bits per
channel, but fails for other modes such as ``I`` or ``F``. Instead, use
:py:meth:`~PIL.Image.getextrema` to return per-band extrema for the image.
This is more correct and efficient because :py:meth:`~PIL.Image.getextrema` is
used by the histogram method for non-8-bit modes to return extrema to define the
bins used in the histogram.
This is more correct and efficient because, for non-8-bit modes, the histogram
method uses :py:meth:`~PIL.Image.getextrema` to determine the bins used.

.. py:attribute:: count
Expand Down

0 comments on commit 09c320e

Please sign in to comment.