Skip to content

Commit 3d8be4d

Browse files
committed
Add docstrings for stringio
1 parent 0eb4f8f commit 3d8be4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pygmt/helpers/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def data_kind( # noqa: PLR0911
195195
r"""
196196
Check the kind of data that is provided to a module.
197197
198-
The ``data`` argument can be in any type. Following data kinds are recognized:
198+
The ``data`` argument can be in any types. Following data kinds are recognized:
199199
200200
- ``"arg"``: data is ``None`` and ``required=False``, or bool, int, float,
201201
representing an optional argument, used for dealing with optional virtual files
@@ -205,6 +205,7 @@ def data_kind( # noqa: PLR0911
205205
(e.g., geopandas.GeoDataFrame or shapely.geometry)
206206
- ``"grid"``: a :class:`xarray.DataArray` object that is not 3-D
207207
- ``"image"``: a 3-D :class:`xarray.DataArray` object
208+
- ``"stringio"``: a :class:`io.StringIO` object
208209
- ``"matrix"``: anything that is not None
209210
- ``"vectors"``: data is ``None`` and ``required=True``
210211

0 commit comments

Comments
 (0)