Skip to content

Commit faf2065

Browse files
weiji14seisman
andauthored
Apply suggestions from code review
Co-authored-by: Dongdong Tian <[email protected]>
1 parent b588730 commit faf2065

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pygmt/clib/session.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ def put_vector(self, dataset, column, vector):
934934
def put_strings(
935935
self,
936936
dataset: ctp.c_void_p,
937-
family: Literal["GMT_IS_VECTOR", "GMT_IS_MATRIX"],
937+
family: str,
938938
strings: StringArrayTypes,
939939
):
940940
"""
@@ -955,8 +955,8 @@ def put_strings(
955955
Parameters
956956
----------
957957
dataset
958-
The ctypes void pointer to a ``GMT_Dataset``. Create it with
959-
:meth:`pygmt.clib.Session.create_data`.
958+
The ctypes void pointer to a ``GMT_VECTOR``/``GMT_MATRIX`` container.
959+
Create it with :meth:`pygmt.clib.Session.create_data`.
960960
family
961961
The family type of the dataset. Can be either ``GMT_IS_VECTOR`` or
962962
``GMT_IS_MATRIX``.

0 commit comments

Comments
 (0)