Skip to content

Commit 13ec03f

Browse files
committed
Improve docstrings
1 parent 69cf33d commit 13ec03f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

pygmt/helpers/utils.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -207,13 +207,11 @@ def data_kind(
207207
208208
Parameters
209209
----------
210-
data : str, pathlib.PurePath, None, bool, xarray.DataArray or {table-like}
211-
Pass in either a file name or :class:`pathlib.Path` to an ASCII data
212-
table, an :class:`xarray.DataArray`, a 1-D/2-D
213-
{table-classes} or an option argument.
210+
data
211+
The data to be passed to a GMT module.
214212
required
215-
Set to True when 'data' is required, or False when dealing with
216-
optional virtual files. [Default is True].
213+
Whether 'data' is required. Set to ``False`` when dealing with optional virtual
214+
files.
217215
218216
Returns
219217
-------

0 commit comments

Comments
 (0)