Skip to content

Commit

Permalink
Figure.wiggle: Reorder input parameter to 'data, x, y, z'
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Sep 27, 2021
1 parent 3861935 commit 7b2ff17
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pygmt/src/wiggle.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from pygmt.clib import Session
from pygmt.helpers import (
build_arg_string,
check_data_input_order,
deprecate_parameter,
fmt_docstring,
kwargs_to_strings,
Expand All @@ -13,6 +14,7 @@

@fmt_docstring
@deprecate_parameter("columns", "incols", "v0.5.0", remove_version="v0.7.0")
@check_data_input_order("v0.5.0", remove_version="v0.7.0")
@use_alias(
B="frame",
D="position",
Expand All @@ -39,7 +41,7 @@
w="wrap",
)
@kwargs_to_strings(R="sequence", c="sequence_comma", i="sequence_comma", p="sequence")
def wiggle(self, x=None, y=None, z=None, data=None, **kwargs):
def wiggle(self, data=None, x=None, y=None, z=None, **kwargs):
r"""
Plot z=f(x,y) anomalies along tracks.
Expand Down

0 comments on commit 7b2ff17

Please sign in to comment.