Skip to content

Commit 6631b76

Browse files
committed
More doc improvements
1 parent 07a1efa commit 6631b76

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/image/math.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ defmodule Image.Math do
820820
821821
### Returns
822822
823-
* `{maximum, x_max, y_max, [{x_positions, y_positions}])`
823+
* `{maximum, x_max, y_max, [{x, y}, ...])`
824824
825825
"""
826826
@spec top_n(image :: Vimage.t(), n :: non_neg_integer()) ::
@@ -853,7 +853,7 @@ defmodule Image.Math do
853853
854854
### Returns
855855
856-
* `{minimum, x_min, y_min, [{x_positions, y_positions}])`
856+
* `{minimum, x_min, y_min, [{x, y}, ...])`
857857
858858
"""
859859
@spec bottom_n(image :: Vimage.t(), n :: non_neg_integer()) ::
@@ -887,7 +887,7 @@ defmodule Image.Math do
887887
888888
### Returns
889889
890-
* `{maximum, [{x_positions, y_positions}], maybe_overflow)`. If
890+
* `{maximum, [{x, y}, ...], maybe_overflow)`. If
891891
`maybe_overflow` is set to `:maybe_overflow` its an indication
892892
that the number of coordinates is the same as the requested `n`.
893893
Therefore it is possible - maybe even likely - that there are other
@@ -964,7 +964,7 @@ defmodule Image.Math do
964964
965965
### Returns
966966
967-
* `{minimum, [{x_positions, y_positions}], maybe_overflow)`. If
967+
* `{minimum, [{x, y}, ...], maybe_overflow)`. If
968968
`maybe_overflow` is set to `:maybe_overflow` its an indication
969969
that the number of coordinates is the same as the requested `n`.
970970
Therefore it is possible - maybe even likely - that there are other

0 commit comments

Comments
 (0)