Skip to content

Commit e7f22f9

Browse files
committed
Fix backward compatibility
1 parent 70d7f2f commit e7f22f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pygmt/src/coast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def _alias_option_C(lakes=None, river_lakes=None): # noqa: N802
5858
return Alias(lakes, name="lakes") # Return as is.
5959

6060
return [
61-
Alias(lakes, name="lakes", suffix="+l"),
61+
Alias(lakes, name="lakes", suffix="+l" if "+" not in str(lakes) else ""),
6262
Alias(river_lakes, name="river_lakes", suffix="+r"),
6363
]
6464

0 commit comments

Comments
 (0)