Skip to content

Commit 8d55b50

Browse files
authored
correct docstring (#329)
1 parent 210e997 commit 8d55b50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cf_xarray/helpers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,15 @@ def vertices_to_bounds(
123123
Parameters
124124
----------
125125
vertices : DataArray
126-
The bounds to convert. Must be of shape (N, 2) or (N, M, 4).
126+
The vertices to convert. Must be of shape (N + 1) or (N + 1, M + 1).
127127
out_dims : Sequence[str],
128128
The name of the dimension in the output. The first is the 'bounds'
129129
dimension and the following are the coordinate dimensions.
130130
131131
Returns
132132
-------
133133
DataArray
134+
Either of shape (2, N) or (4, N, M).
134135
135136
References
136137
----------

0 commit comments

Comments
 (0)