Skip to content

Commit 2a70379

Browse files
authored
Support passing a sequence to the spacing parameter of pygmt.info() (#1031)
1 parent ac51c2e commit 2a70379

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

pygmt/src/info.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,18 @@
33
"""
44
import numpy as np
55
from pygmt.clib import Session
6-
from pygmt.helpers import GMTTempFile, build_arg_string, fmt_docstring, use_alias
6+
from pygmt.helpers import (
7+
GMTTempFile,
8+
build_arg_string,
9+
fmt_docstring,
10+
kwargs_to_strings,
11+
use_alias,
12+
)
713

814

915
@fmt_docstring
1016
@use_alias(C="per_column", I="spacing", T="nearest_multiple", V="verbose", f="coltypes")
17+
@kwargs_to_strings(I="sequence")
1118
def info(table, **kwargs):
1219
r"""
1320
Get information about data tables.

0 commit comments

Comments
 (0)