Skip to content

Commit 9d6f20b

Browse files
committed
Fix subplot end -V
1 parent 6cb2e59 commit 9d6f20b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygmt/src/subplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def subplot(self, nrows=1, ncols=1, **kwargs):
151151
axs[i, j] = index
152152
yield axs
153153
finally:
154-
v_arg = build_arg_string(kwargs.fromkeys("V"))
154+
v_arg = build_arg_string({"V": kwargs.get("V")})
155155
lib.call_module("subplot", f"end {v_arg}".strip())
156156

157157

0 commit comments

Comments
 (0)