Skip to content

Commit fe5c47a

Browse files
authored
Fix type to cstype
1 parent 91b5630 commit fe5c47a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pygmt/src/inset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def inset(
127127
... )
128128
...
129129
>>> # Map elements outside the "with" statement are plotted in the main figure
130-
>>> fig.logo(position=Position("BR", type="inside", offset=0.2), width="3c")
130+
>>> fig.logo(position=Position("BR", cstype="inside", offset=0.2), width="3c")
131131
>>> fig.show()
132132
"""
133133
self._activate_figure()

pygmt/src/logo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def logo( # noqa: PLR0913
9191
if isinstance(position, str) and any(v is not None for v in (width, height)):
9292
msg = (
9393
"Parameter 'position' is given with a raw GMT command string, and conflicts "
94-
"with parameters 'width' and 'height'. "
94+
"with parameters 'width' and 'height'."
9595
)
9696
raise GMTInvalidInput(msg)
9797

0 commit comments

Comments
 (0)