We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd223e2 commit 97a13f1Copy full SHA for 97a13f1
1 file changed
pygmt/src/logo.py
@@ -88,10 +88,10 @@ def logo( # noqa: PLR0913
88
89
# Prior PyGMT v0.17.0, 'position' can accept a raw GMT CLI string. Check for
90
# conflicts with other parameters.
91
- if isinstance(position, str) and any(v is not None for v in (height, width)):
+ if isinstance(position, str) and any(v is not None for v in (width, height)):
92
msg = (
93
"Parameter 'position' is given with a raw GMT command string, and conflicts "
94
- "with parameters 'height', and 'width'. "
+ "with parameters 'width' and 'height'. "
95
)
96
raise GMTInvalidInput(msg)
97
0 commit comments