fatiando / harmonica

Forward modeling, inversion, and processing gravity and magnetic data
https://www.fatiando.org/harmonica
BSD 3-Clause "New" or "Revised" License
208 stars 68 forks source link

Fix visualization test using deprecated PyVista method #433

Closed santisoler closed 11 months ago

santisoler commented 11 months ago

Replace the deprecated pv_grid.cell_bounds() for an iterator over the cells (pv_grid.cell) and then use Cell.bounds to get the bounds of each cell.

Relevant issues/PRs:

Fixes tests failing in #422 reported by @LL-Geo