Skip to content

Commit 83dc251

Browse files
authored
add references in docs to xhistogram and xrft (#20)
* add references in docs to xhistogram and xrft * update changelog * fix reference
1 parent 36e6f3e commit 83dc251

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,8 @@ Here we list some similar projects we know of. Note that all of
319319
them are complementary and don't overlap:
320320
* [xr-scipy](https://xr-scipy.readthedocs.io/en/latest/index.html)
321321
* [xarray-extras](https://xarray-extras.readthedocs.io/en/latest/)
322+
* [xhistogram](https://xhistogram.readthedocs.io/en/latest/)
323+
* [xrft](https://xrft.readthedocs.io/en/latest/)
322324

323325
## Cite xarray-einstats
324326
If you use this software, please cite it using the following template and the version

docs/source/changelog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
* Add `DaskBackend` to support using einops functions on Dask backed DataArrays {pull}`14`
66

77
### Documentation
8-
* Add dask support guide {pull}`14`
8+
* Add Dask support guide {pull}`14`
9+
* Add references to xhistogram and xrft in docs {pull}`20`
910

1011
## v0.2.2 (2022 Apr 3)
1112
### Maintenance and fixes

docs/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,5 +110,6 @@
110110
"numpy": ("https://numpy.org/doc/stable/", None),
111111
"python": ("https://docs.python.org/3/", None),
112112
"scipy": ("https://docs.scipy.org/doc/scipy/reference/", None),
113-
"xarray": ("http://docs.xarray.dev/en/stable/", None),
113+
"xarray": ("https://docs.xarray.dev/en/stable/", None),
114+
"xhistogram": ("https://xhistogram.readthedocs.io/en/latest", None),
114115
}

src/xarray_einstats/numba.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ def histogram(da, dims, bins=None, density=False, **kwargs):
9191
Note how the return is a single DataArray, not an array with the histogram and another
9292
with the bin edges. That is because the bin edges are included as coordinate values.
9393
94+
See Also
95+
--------
96+
xhistogram.xarray.histogram :
97+
Alternative implementation (with some different features) of xarray aware histogram.
9498
"""
9599
# TODO: make dask compatible even when bin edges are not passed manually
96100
if bins is None:

0 commit comments

Comments
 (0)