Skip to content

Commit

Permalink
Adjust imports to updates in libpysal (#272)
Browse files Browse the repository at this point in the history
* Bump codecov/codecov-action from 3 to 4

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix broken imports

* codecov GHA v3

* Update esda/getisord.py

Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
  • Loading branch information
3 people authored Oct 24, 2023
1 parent 3f5ce84 commit f6a8732
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion esda/getisord.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

import warnings

from libpysal.common import np, stats
import numpy as np
from scipy import stats

from libpysal.weights.spatial_lag import lag_spatial as slag
from libpysal.weights.util import fill_diagonal

Expand Down
4 changes: 3 additions & 1 deletion esda/smoothing.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
import warnings
from functools import reduce

import numpy as np

from libpysal.cg import (
KDTree,
LineSegment,
Point,
Ray,
Expand All @@ -34,7 +37,6 @@
get_points_dist,
get_segment_point_dist,
)
from libpysal.common import KDTree, np
from libpysal.common import requires as _requires
from libpysal.weights.distance import Kernel
from libpysal.weights.spatial_lag import lag_spatial as slag
Expand Down

0 comments on commit f6a8732

Please sign in to comment.