Skip to content

Commit 6ec9c66

Browse files
committed
Fix typos
1 parent b17ecfe commit 6ec9c66

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pygmt/src/logo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def logo( # noqa: PLR0913
124124
"plotcoords": "x",
125125
"inside": "j",
126126
"outside": "J",
127-
}.get(position_type)
127+
}[position_type]
128128

129129
aliasdict = AliasSystem(
130130
D=[

pygmt/tests/test_logo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def test_logo_on_a_map():
2727
fig.logo(
2828
position_type="inside",
2929
position="TR",
30-
offset=(0.25, 0.25),
30+
anchor_offset=(0.25, 0.25),
3131
width="7.5c",
3232
box=True,
3333
)

0 commit comments

Comments
 (0)