Skip to content

Commit 51569c8

Browse files
seismanweiji14
andauthored
Update pygmt/clib/session.py
Co-authored-by: Wei Ji <[email protected]>
1 parent 991f688 commit 51569c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pygmt/clib/session.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1815,9 +1815,9 @@ def virtualfile_in( # noqa: PLR0912
18151815
elif kind == "matrix":
18161816
# GMT can only accept a 2-D matrix which are signed integer (i), unsigned
18171817
# integer (u) or floating point (f) types. For other data types, we need to
1818-
# use virtualfile_from_vectors instead, which turns the matrix into list of
1819-
# vectors and allows for better handling of string type inputs (e.g. for
1820-
# datetime data types).
1818+
# use virtualfile_from_vectors instead, which turns the matrix into a list
1819+
# of vectors and allows for better handling of non-integer/float type inputs
1820+
# (e.g. for string or datetime data types).
18211821
_data = (data,)
18221822
if data.dtype.kind not in "iuf":
18231823
_virtualfile_from = self.virtualfile_from_vectors

0 commit comments

Comments
 (0)