1111from pygmt .alias import Alias , AliasSystem
1212from pygmt .clib import Session
1313from pygmt .exceptions import GMTInvalidInput , GMTTypeError
14- from pygmt .helpers import build_arg_list , fmt_docstring , use_alias
14+ from pygmt .helpers import build_arg_list , deprecate_parameter , fmt_docstring , use_alias
1515
1616
1717@fmt_docstring
18+ @deprecate_parameter (
19+ "uncertaintyfill" , "uncertainty_fill" , "v0.18.0" , remove_version = "v0.20.0"
20+ )
1821@use_alias (
1922 A = "vector" ,
2023 C = "cmap" ,
2124 D = "rescale" ,
22- E = "uncertaintyfill " ,
25+ E = "uncertainty_fill " ,
2326 G = "fill" ,
2427 H = "scale" ,
2528 I = "shading" ,
@@ -97,7 +100,7 @@ def velo( # noqa : PLR0913
97100 labeling. The arrow will be drawn with the pen attributes specified
98101 by the ``pen`` parameter and the arrow-head can be colored via
99102 ``fill``. The ellipse will be filled with the color or pattern
100- specified by the ``uncertaintyfill `` parameter [Default is
103+ specified by the ``uncertainty_fill `` parameter [Default is
101104 transparent], and its outline will be drawn if ``line`` is selected
102105 using the pen selected (by ``pen`` if not given by ``line``).
103106 Parameters are expected to be in the following columns:
@@ -130,7 +133,7 @@ def velo( # noqa : PLR0913
130133 labeling. The arrow will be drawn with the pen attributes specified
131134 by the ``pen`` parameter and the arrow-head can be colored via
132135 ``fill``. The ellipse will be filled with the color or pattern
133- specified by the ``uncertaintyfill `` parameter [Default is
136+ specified by the ``uncertainty_fill `` parameter [Default is
134137 transparent], and its outline will be drawn if ``line`` is selected
135138 using the pen selected (by ``pen`` if not given by ``line``).
136139 Parameters are expected to be in the following columns:
@@ -149,7 +152,7 @@ def velo( # noqa : PLR0913
149152 extra column. Rotation values are multiplied by *wedgemag* before
150153 plotting. For example, setting *wedgemag* to 1.e7 works well for
151154 rotations of the order of 100 nanoradians/yr. Use ``fill`` to set
152- the fill color or pattern for the wedge, and ``uncertaintyfill `` to
155+ the fill color or pattern for the wedge, and ``uncertainty_fill `` to
153156 set the color or pattern for the uncertainty. Parameters are
154157 expected to be in the following columns:
155158
@@ -183,10 +186,10 @@ def velo( # noqa : PLR0913
183186 Can be used to rescale the uncertainties of velocities (``spec="e"``
184187 and ``spec="r"``) and rotations (``spec="w"``). Can be combined with
185188 the ``confidence`` variable.
186- uncertaintyfill : str
189+ uncertainty_fill : str
187190 Set color or pattern for filling uncertainty wedges (``spec="w"``)
188191 or velocity error ellipses (``spec="e"`` or ``spec="r"``).
189- If ``uncertaintyfill `` is not specified, the uncertainty regions
192+ If ``uncertainty_fill `` is not specified, the uncertainty regions
190193 will be transparent. **Note**: Using ``cmap`` and ``zvalue="+e"``
191194 will update the uncertainty fill color based on the selected measure
192195 in ``zvalue`` [Default is magnitude error]. More details at
0 commit comments