Replace deprecated numpy aliases by eendebakpt · Pull Request #458 · python-adaptive/adaptive

Description

Numpy 2.0 is to be released soon (see numpy/numpy#24300 (comment)) and that release will remove a couple of deprecated aliases.

In this PR replace the aliases by the entries suggested by ruff (see https://docs.astral.sh/ruff/rules/numpy2-deprecation/)

Checklist

  • Fixed style issues using pre-commit run --all (first install using pip install pre-commit)
  • pytest passed

Type of change

Check relevant option(s).

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • (Code) style fix or documentation update
  • This change requires a documentation update