Skip to content

Commit

Permalink
Don't use np.alltrue, bump to 0.10.2 (#683)
Browse files Browse the repository at this point in the history
Closes #682
  • Loading branch information
kylebarron authored Oct 10, 2024
1 parent 4af9e2d commit 5536a86
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [0.10.2] - 2024-10-10

### Fixes :bug:

- Fix using `TripsLayer.from_movingpandas` with numpy v2.

## [0.10.1] - 2024-10-08

### Fixes :bug:
Expand Down
2 changes: 1 addition & 1 deletion lonboard/_geoarrow/movingpandas_interop.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def movingpandas_to_geoarrow(

nested_attr_table = apply_offsets_to_table(attr_table, offsets=offsets)

if np.alltrue(np.isnan(coords[:, 2])):
if np.all(np.isnan(coords[:, 2])):
coord_list_size = 2
# Cast to 2D coords
coords = coords[:, :2]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "lonboard"
version = "0.10.1"
version = "0.10.2"
description = "Fast, interactive geospatial data visualization in Jupyter."
authors = ["Kyle Barron <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 5536a86

Please sign in to comment.