We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2b47b6 commit a469acfCopy full SHA for a469acf
pygmt/clib/session.py
@@ -1822,9 +1822,9 @@ def virtualfile_in( # noqa: PLR0912
1822
elif kind == "matrix":
1823
# GMT can only accept a 2-D matrix which are signed integer (i), unsigned
1824
# 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).
+ # use virtualfile_from_vectors instead, which turns the matrix into a list
+ # of vectors and allows for better handling of non-integer/float type inputs
+ # (e.g. for string or datetime data types).
1828
_data = (data,)
1829
if data.dtype.kind not in "iuf":
1830
_virtualfile_from = self.virtualfile_from_vectors
0 commit comments