Skip to content

Commit d857c36

Browse files
committed
Fix docs
1 parent ca0f2a0 commit d857c36

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

cf_xarray/accessor.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1411,16 +1411,19 @@ def differentiate(
14111411
self, coord, *xr_args, positive_upward: bool = False, **xr_kwargs
14121412
):
14131413
"""
1414+
Differentiate an xarray object.
1415+
14141416
Parameters
14151417
----------
1416-
xr_args, xr_kwargs are passed directly to the underlying xarray function.
1417-
The following are added by cf_xarray:
1418-
14191418
positive_upward: optional, bool
14201419
Change sign of the derivative based on the ``"positive"`` attribute of ``coord``
14211420
so that positive values indicate increasing upward.
14221421
If ``positive=="down"``, then multiplied by -1.
14231422
1423+
Notes
1424+
-----
1425+
``xr_args``, ``xr_kwargs`` are passed directly to the underlying xarray function.
1426+
14241427
See Also
14251428
--------
14261429
DataArray.cf.differentiate

doc/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ Attributes
3030
DataArray.cf.axes
3131
DataArray.cf.cell_measures
3232
DataArray.cf.coordinates
33-
DataArray.cf.standard_names
3433
DataArray.cf.formula_terms
34+
DataArray.cf.standard_names
3535
DataArray.cf.plot
3636

3737

0 commit comments

Comments
 (0)