Skip to content

Commit

Permalink
Merge branch 'main' into to_numpy/pyarrow_string
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman authored Nov 12, 2024
2 parents f10175f + 763dc07 commit 9bd3928
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pygmt/src/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ def plot(
if kind == "empty": # Add more columns for vectors input
# Parameters for vector styles
if (
kwargs.get("S") is not None
isinstance(kwargs.get("S"), str)
and len(kwargs["S"]) >= 1
and kwargs["S"][0] in "vV"
and is_nonstr_iter(direction)
):
Expand Down
3 changes: 2 additions & 1 deletion pygmt/src/plot3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ def plot3d(
if kind == "empty": # Add more columns for vectors input
# Parameters for vector styles
if (
kwargs.get("S") is not None
isinstance(kwargs.get("S"), str)
and len(kwargs["S"]) >= 1
and kwargs["S"][0] in "vV"
and is_nonstr_iter(direction)
):
Expand Down

0 comments on commit 9bd3928

Please sign in to comment.