We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff9daae commit 763dc07Copy full SHA for 763dc07
pygmt/src/plot.py
@@ -213,7 +213,8 @@ def plot(
213
if kind == "empty": # Add more columns for vectors input
214
# Parameters for vector styles
215
if (
216
- kwargs.get("S") is not None
+ isinstance(kwargs.get("S"), str)
217
+ and len(kwargs["S"]) >= 1
218
and kwargs["S"][0] in "vV"
219
and is_nonstr_iter(direction)
220
):
pygmt/src/plot3d.py
@@ -197,7 +197,8 @@ def plot3d(
197
198
199
200
201
202
203
204
0 commit comments