We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 271af68 commit bd223e2Copy full SHA for bd223e2
1 file changed
pygmt/src/logo.py
@@ -88,7 +88,7 @@ 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 (height is not None or width is not None):
+ if isinstance(position, str) and any(v is not None for v in (height, width)):
92
msg = (
93
"Parameter 'position' is given with a raw GMT command string, and conflicts "
94
"with parameters 'height', and 'width'. "
0 commit comments