Skip to content

Commit

Permalink
patch: fix gridline tests for np 2.x (#998)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjlittle authored Jul 14, 2024
1 parent 26b3a74 commit 57fc7ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/geovista/gridlines.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def create_meridians(
mesh.point_data[GV_REMESH_POINT_IDS] = seam
mesh.set_active_scalars(name=None)

blocks[f"{index},{lon!r}"] = mesh
blocks[f"{index},{lon}"] = mesh

grid_points, grid_labels = [], []
labels = create_meridian_labels(list(lons))
Expand Down Expand Up @@ -539,7 +539,7 @@ def create_parallels(

mesh = pv.PolyData(xyz, lines=lines)
to_wkt(mesh, WGS84)
blocks[f"{index},{lat!r}"] = mesh
blocks[f"{index},{lat}"] = mesh
grid_lats.append(lat)

grid_points, grid_labels = [], []
Expand Down

0 comments on commit 57fc7ed

Please sign in to comment.