We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a854e0d commit bf56228Copy full SHA for bf56228
pygmt/alias.py
@@ -245,7 +245,7 @@ def kwdict(self):
245
# Get the local variables from the calling function.
246
p_locals = inspect.currentframe().f_back.f_locals
247
# Get parameters/arguments from **kwargs of the calling function.
248
- p_kwargs = p_locals.pop("kwargs", {})
+ p_kwargs = p_locals.get("kwargs", {})
249
250
params = p_locals | p_kwargs
251
# Default value is an empty string to simplify code logic.
0 commit comments