Skip to content

Commit e2b448c

Browse files
committed
Improve Figure.logo
1 parent a2a3e3d commit e2b448c

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

pygmt/src/logo.py

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,16 @@
1818
t="transparency",
1919
)
2020
@kwargs_to_strings(R="sequence", c="sequence_comma", p="sequence")
21-
def logo(self, box=None, **kwargs):
21+
def logo(
22+
self,
23+
position=None,
24+
position_type=None,
25+
length=None,
26+
height=None,
27+
offset=None,
28+
box=None,
29+
**kwargs,
30+
):
2231
r"""
2332
Plot the GMT logo.
2433
@@ -55,6 +64,12 @@ def logo(self, box=None, **kwargs):
5564
{transparency}
5665
"""
5766
alias = AliasSystem(
67+
D=[
68+
Alias(position, separator="/", prefix=position_type),
69+
Alias(length, prefix="+w"),
70+
Alias(height, prefix="+h"),
71+
Alias(offset, prefix="+o", separator="/"),
72+
],
5873
F=Alias(box),
5974
)
6075
kwargs = self._preprocess(**kwargs)

0 commit comments

Comments
 (0)