Skip to content

Commit 6954c5d

Browse files
committed
Fix docstrings
1 parent 5790923 commit 6954c5d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pygmt/helpers/utils.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,10 @@ def data_kind(
209209
- ``"image"``: a 3-D :class:`xarray.DataArray` object
210210
- ``"stringio"``: a :class:`io.StringIO` object
211211
- ``"matrix"``: a 2-D :class:`numpy.ndarray` object
212-
- ``"vectors"``: fallback to ``"vectors"`` for any unrecognized data. Common data
213-
types include, a :class:`pandas.DataFrame` object, a dictionary with array-like
214-
values, a 1-D/3-D :class:`numpy.ndarray` object, or array-like objects.
212+
- ``"vectors"``: ``data`` is ``None`` and ``required=True``, or any unrecognized
213+
data. Common data types include, a :class:`pandas.DataFrame` object, a dictionary
214+
with array-like values, a 1-D/3-D :class:`numpy.ndarray` object, or array-like
215+
objects.
215216
216217
Parameters
217218
----------

0 commit comments

Comments
 (0)