Skip to content

Commit

Permalink
Allow passing a list to the 'incols' parameter for blockm, grdtrack a…
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman authored and Josh Sixsmith committed Dec 21, 2022
1 parent fbdacf9 commit 690e758
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pygmt/src/blockm.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def _blockm(block_method, table, outfile, x, y, z, **kwargs):
s="skiprows",
w="wrap",
)
@kwargs_to_strings(R="sequence")
@kwargs_to_strings(R="sequence", i="sequence_comma")
def blockmean(table=None, outfile=None, *, x=None, y=None, z=None, **kwargs):
r"""
Block average (x,y,z) data tables by mean estimation.
Expand Down Expand Up @@ -148,7 +148,7 @@ def blockmean(table=None, outfile=None, *, x=None, y=None, z=None, **kwargs):
s="skiprows",
w="wrap",
)
@kwargs_to_strings(R="sequence")
@kwargs_to_strings(R="sequence", i="sequence_comma")
def blockmedian(table=None, outfile=None, *, x=None, y=None, z=None, **kwargs):
r"""
Block average (x,y,z) data tables by median estimation.
Expand Down
2 changes: 1 addition & 1 deletion pygmt/src/grdtrack.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
j="distcalc",
n="interpolation",
)
@kwargs_to_strings(R="sequence", S="sequence")
@kwargs_to_strings(R="sequence", S="sequence", i="sequence_comma")
def grdtrack(points, grid, newcolname=None, outfile=None, **kwargs):
r"""
Sample grids at specified (x,y) locations.
Expand Down
1 change: 1 addition & 0 deletions pygmt/src/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
font="sequence_comma",
justify="sequence_comma",
c="sequence_comma",
i="sequence_comma",
p="sequence",
)
def text_(
Expand Down

0 comments on commit 690e758

Please sign in to comment.