@@ -113,7 +113,7 @@ def zeros_ref(*args, dims, dtype=None):
113113 of the given `dims` will be taken.
114114 dims : sequence of hashable
115115 List of dimensions of the output DataArray. Passed as is to the
116- { class} `~xarray.DataArray` constructor.
116+ : class: `~xarray.DataArray` constructor.
117117 dtype : dtype, optional
118118 The dtype of the output array.
119119 If it is not provided it will be inferred from the reference
@@ -143,7 +143,7 @@ def empty_ref(*args, dims, dtype=None):
143143 of the given `dims` will be taken.
144144 dims : sequence of hashable
145145 List of dimensions of the output DataArray. Passed as is to the
146- { class} `~xarray.DataArray` constructor.
146+ : class: `~xarray.DataArray` constructor.
147147 dtype : dtype, optional
148148 The dtype of the output array.
149149 If it is not provided it will be inferred from the reference
@@ -173,7 +173,7 @@ def ones_ref(*args, dims, dtype=None):
173173 of the given `dims` will be taken.
174174 dims : sequence of hashable
175175 List of dimensions of the output DataArray. Passed as is to the
176- { class} `~xarray.DataArray` constructor.
176+ : class: `~xarray.DataArray` constructor.
177177 dtype : dtype, optional
178178 The dtype of the output array.
179179 If it is not provided it will be inferred from the reference
0 commit comments