We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef6e6aa commit 6b7a578Copy full SHA for 6b7a578
pygmt/clib/session.py
@@ -1392,6 +1392,7 @@ def virtualfile_from_vectors(self, *vectors):
1392
# virtual file is closed. The conversion is implicit in
1393
# vectors_to_arrays.
1394
arrays = vectors_to_arrays(vectors)
1395
+ print(vectors, arrays)
1396
1397
columns = len(arrays)
1398
# Find arrays that are of string dtype from column 3 onwards
@@ -1831,7 +1832,7 @@ def virtualfile_in( # noqa: PLR0912
1831
1832
_data = (data,)
1833
if data.dtype.kind not in "iuf":
1834
_virtualfile_from = self.virtualfile_from_vectors
- _data = data
1835
+ _data = data.T
1836
1837
# Finally create the virtualfile from the data, to be passed into GMT
1838
file_context = _virtualfile_from(*_data)
0 commit comments