Skip to content

Commit 966537f

Browse files
committed
Another way to support autocompletion
1 parent 6f7d261 commit 966537f

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

pygmt/src/coast.py

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
coast - Plot land and water.
33
"""
4+
from typing import Any, Literal
45

56
from pygmt.clib import Session
67
from pygmt.exceptions import GMTInvalidInput
@@ -36,7 +37,26 @@
3637
t="transparency",
3738
)
3839
@kwargs_to_strings(R="sequence", c="sequence_comma", p="sequence")
39-
def coast(self, **kwargs):
40+
def coast(
41+
self,
42+
region: Any = None,
43+
projection: Any = None,
44+
area_thresh: Any = None,
45+
frame: Any = None,
46+
resolution: Literal["f", "h", "i", "l", "c", "a", None] = None,
47+
land: Any = None,
48+
water: Any = None,
49+
rivers: Any = None,
50+
borders: Any = None,
51+
lakes: Any = None,
52+
map_scale: Any = None,
53+
dcw: Any = None,
54+
shorelines: Any = None,
55+
perspective: Any = None,
56+
transparency: Any = None,
57+
verbose: Any = None,
58+
**kwargs,
59+
):
4060
r"""
4161
Plot continents, shorelines, rivers, and borders on maps.
4262

0 commit comments

Comments
 (0)