Skip to content

Commit 1d59353

Browse files
committed
[CLN] Refactor grids into its own modules
1 parent 619a311 commit 1d59353

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

gempy_viewer/modules/plot_2d/plot_2d_utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55

66
from gempy.core.data import Grid
77
from gempy.core.data.core_utils import calculate_line_coordinates_2points, interpolate_zvals_at_xy
8-
from gempy.core.data.grid_modules import grid_types
98
from gempy.core.data.grid_modules import Sections, RegularGrid
109

1110

12-
def slice_cross_section(regular_grid: grid_types.RegularGrid, direction: str, cell_number: int or str):
11+
def slice_cross_section(regular_grid: RegularGrid, direction: str, cell_number: int or str):
1312
"""
1413
Slice the 3D array (blocks or scalar field) in the specific direction selected in the plot functions
1514

0 commit comments

Comments
 (0)