in hypothesis_gufunc/extra/xr.py [0:0]
def simple_coords(min_side=0, max_side=DEFAULT_SIDE):
"""Generate a simple coordinate for a :class:`xarray:xarray.DataArray`.
A simple coordinate is one in which the values go: 0, 1, ..., n.
Parameters
----------
min_side : int
Minimum length of coordinates array.
max_side : int or None
Maximum length of coordinates array.
Returns
-------
L : list(int)
The coordinates filled with values of: ``list(range(len(L)))``.
"""
_check_valid_size_interval(min_side, max_side, "side")
n = integers(min_value=min_side, max_value=max_side)
S = n.map(range).map(list) # Always make list to be consistent with xr_coords
return S