Skip to content

Commit 80c5aa5

Browse files
committed
Fix docstrings
1 parent e2b47b6 commit 80c5aa5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pygmt/clib/session.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1822,9 +1822,9 @@ def virtualfile_in( # noqa: PLR0912
18221822
elif kind == "matrix":
18231823
# GMT can only accept a 2-D matrix which are signed integer (i), unsigned
18241824
# integer (u) or floating point (f) types. For other data types, we need to
1825-
# use virtualfile_from_vectors instead, which turns the matrix into list of
1826-
# vectors and allows for better handling of string type inputs (e.g. for
1827-
# datetime data types).
1825+
# use virtualfile_from_vectors instead, which turns the matrix into a list
1826+
# of vectors and allows for better handling of non-integer/float type inputs
1827+
# (e.g., for string and datetime data types).
18281828
_data = (data,)
18291829
if data.dtype.kind not in "iuf":
18301830
_virtualfile_from = self.virtualfile_from_vectors

0 commit comments

Comments
 (0)