We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21caf4c commit ba53b9cCopy full SHA for ba53b9c
pygmt/src/logo.py
@@ -2,6 +2,7 @@
2
logo - Plot the GMT logo
3
"""
4
5
+from pygmt.alias import Alias, AliasSystem
6
from pygmt.clib import Session
7
from pygmt.helpers import build_arg_list, fmt_docstring, kwargs_to_strings, use_alias
8
@@ -11,7 +12,6 @@
11
12
R="region",
13
J="projection",
14
D="position",
- F="box",
15
S="style",
16
V="verbose",
17
c="panel",
@@ -54,6 +54,9 @@ def logo(self, **kwargs):
54
{panel}
55
{transparency}
56
57
+ alias = AliasSystem(
58
+ F=Alias("box"),
59
+ )
60
kwargs = self._preprocess(**kwargs)
61
with Session() as lib:
- lib.call_module(module="logo", args=build_arg_list(kwargs))
62
+ lib.call_module(module="logo", args=build_arg_list(alias.kwdict))
0 commit comments