diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1d707022..8cb00943 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,7 +29,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.277 + rev: v0.0.278 hooks: - id: ruff args: ["--fix", "--show-fixes"] diff --git a/README.md b/README.md index 0732542a..7c1a8487 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,8 @@ Hist currently provides everything boost-histogram provides, and the following e - `.density()` computes the density as an array. - `.profile(remove_ax)` can convert a ND COUNT histogram into a (N-1)D MEAN histogram. - `.sort(axis)` supports sorting a histogram by a categorical axis. Optionally takes a function to sort by. + - `.fill_flattened(...)` will flatten and fill, including support for AwkwardArray. + - `.integrate(...)`, which takes the opposite arguments as `.project`. - Hist implements UHI+; an extension to the UHI (Unified Histogram Indexing) system designed for import-free interactivity: - Uses `j` suffix to switch to data coordinates in access or slices. diff --git a/docs/changelog.md b/docs/changelog.md index 3eaffca3..6ad4cdd6 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,25 @@ # Changelog + +## Version 2.7.0 + +Features: + +* Add a function to integrate axes + [#505](https://github.com/scikit-hep/hist/pull/505) +* Add `fill_flattened` support + [#474](https://github.com/scikit-hep/hist/pull/474) + +Various other items: + +* Move linting to using Ruff + [#475](https://github.com/scikit-hep/hist/pull/475) +* `Self` & `_compat` + [#479](https://github.com/scikit-hep/hist/pull/479) +* Rework and rerun docs API + [#481](https://github.com/scikit-hep/hist/pull/481) + + ## Version 2.6.3 * Experimental dask support