xhistogram is compatible with python 3. It requires numpy and, optionally, xarray.
Installation from Conda Forge¶
The easiest way to install xhistogram along with its dependencies is via conda forge:
conda install -c conda-forge xhistogram
Installation from Pip¶
An alternative is to use pip:
pip install xhistogram
This will install the latest release from pypi.
Installation from GitHub¶
xhistogram is under active development. To obtain the latest development version, you may clone the source repository and install it:
git clone https://github.com/xgcm/xhistogram.git cd xhistogram python setup.py install
pip install git+https://github.com/xgcm/xhistogram.git