Skip to content

Commit da874d1

Browse files
committed
Put ncols before required_data
1 parent a01afbb commit da874d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pygmt/clib/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1842,8 +1842,8 @@ def virtualfile_in( # noqa: PLR0912
18421842
x=x,
18431843
y=y,
18441844
z=z,
1845-
required_data=required_data,
18461845
ncols=ncols,
1846+
required_data=required_data,
18471847
kind=kind,
18481848
)
18491849

pygmt/helpers/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444

4545
def _validate_data_input( # noqa: PLR0912
46-
data=None, x=None, y=None, z=None, required_data=True, ncols=2, kind=None
46+
data=None, x=None, y=None, z=None, ncols=2, required_data=True, kind=None
4747
) -> None:
4848
"""
4949
Check if the combination of data/x/y/z is valid.

0 commit comments

Comments
 (0)