Skip to content

Commit 0655efe

Browse files
committed
Fix
1 parent 005c981 commit 0655efe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pygmt/params/frame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class Frame(BaseParam):
6161
... xaxis=Axis(10, angle=30, label="X axis", unit="km"),
6262
... )
6363
>>> def func(frame):
64-
... alias = AliasSystem(B="frame")
64+
... alias = AliasSystem(B=Alias("frame", value=frame))
6565
... return alias.kwdict
6666
>>> dict(func(frame))
6767
{'B': ['WSen+glightred+tMy Plot Title', 'x10+a30+lX axis+ukm']}

pygmt/src/logo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
t="transparency",
1919
)
2020
@kwargs_to_strings(R="sequence", c="sequence_comma", p="sequence")
21-
def logo(self, **kwargs):
21+
def logo(self, box=None, **kwargs):
2222
r"""
2323
Plot the GMT logo.
2424
@@ -55,7 +55,7 @@ def logo(self, **kwargs):
5555
{transparency}
5656
"""
5757
alias = AliasSystem(
58-
F=Alias("box"),
58+
F=Alias("box", value=box),
5959
)
6060
kwargs = self._preprocess(**kwargs)
6161
with Session() as lib:

0 commit comments

Comments
 (0)