Skip to content

Commit

Permalink
correct docstring (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcaneill authored Apr 19, 2022
1 parent 210e997 commit 8d55b50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cf_xarray/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,15 @@ def vertices_to_bounds(
Parameters
----------
vertices : DataArray
The bounds to convert. Must be of shape (N, 2) or (N, M, 4).
The vertices to convert. Must be of shape (N + 1) or (N + 1, M + 1).
out_dims : Sequence[str],
The name of the dimension in the output. The first is the 'bounds'
dimension and the following are the coordinate dimensions.
Returns
-------
DataArray
Either of shape (2, N) or (4, N, M).
References
----------
Expand Down

0 comments on commit 8d55b50

Please sign in to comment.