Skip to content

Commit 5536a86

Browse files
authored
Don't use np.alltrue, bump to 0.10.2 (#683)
Closes #682
1 parent 4af9e2d commit 5536a86

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Diff for: CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [0.10.2] - 2024-10-10
4+
5+
### Fixes :bug:
6+
7+
- Fix using `TripsLayer.from_movingpandas` with numpy v2.
8+
39
## [0.10.1] - 2024-10-08
410

511
### Fixes :bug:

Diff for: lonboard/_geoarrow/movingpandas_interop.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def movingpandas_to_geoarrow(
112112

113113
nested_attr_table = apply_offsets_to_table(attr_table, offsets=offsets)
114114

115-
if np.alltrue(np.isnan(coords[:, 2])):
115+
if np.all(np.isnan(coords[:, 2])):
116116
coord_list_size = 2
117117
# Cast to 2D coords
118118
coords = coords[:, :2]

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "lonboard"
3-
version = "0.10.1"
3+
version = "0.10.2"
44
description = "Fast, interactive geospatial data visualization in Jupyter."
55
authors = ["Kyle Barron <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)