Skip to content

Commit d24d75c

Browse files
committed
fix
1 parent c8624f0 commit d24d75c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pygmt/src/grdvolume.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
from typing import Literal
66

7+
import numpy as np
78
import pandas as pd
8-
import xarray as xr
99
from pygmt.clib import Session
1010
from pygmt.helpers import (
1111
build_arg_string,
@@ -31,7 +31,7 @@ def grdvolume(
3131
output_type: Literal["pandas", "numpy", "file"] = "pandas",
3232
outfile: str | None = None,
3333
**kwargs,
34-
) -> pd.DataFrame | xr.DataArray | None:
34+
) -> pd.DataFrame | np.ndarray | None:
3535
r"""
3636
Determine the volume between the surface of a grid and a plane.
3737

0 commit comments

Comments
 (0)