Skip to content

Commit 69b681a

Browse files
committed
Clarify that dict is also vectors
1 parent 1367f36 commit 69b681a

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
@@ -1727,7 +1727,7 @@ def virtualfile_in( # noqa: PLR0912
17271727
_data.extend(extra_arrays)
17281728
case "vectors":
17291729
if hasattr(data, "items") and not hasattr(data, "to_frame"):
1730-
# pandas.DataFrame or xarray.Dataset types.
1730+
# Dict, pandas.DataFrame or xarray.Dataset types.
17311731
# pandas.Series will be handled below like a 1-D numpy.ndarray.
17321732
_data = [array for _, array in data.items()]
17331733
else:

0 commit comments

Comments
 (0)