Skip to content

Commit 8f72e4c

Browse files
committed
Clarify that dictionary will be recognized as vectors
1 parent 362e5bd commit 8f72e4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygmt/clib/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1877,7 +1877,7 @@ def virtualfile_in(
18771877
_data.append(z)
18781878
case "vectors":
18791879
if hasattr(data, "items") and not hasattr(data, "to_frame"):
1880-
# pandas.DataFrame or xarray.Dataset types.
1880+
# Dictionary, pandas.DataFrame or xarray.Dataset types.
18811881
# pandas.Series will be handled below like a 1-D numpy.ndarray.
18821882
_data = [array for _, array in data.items()]
18831883
else:

0 commit comments

Comments
 (0)