22
22
L = "line" ,
23
23
N = "no_clip" ,
24
24
R = "region" ,
25
- S = "scaling " ,
25
+ S = "spec " ,
26
26
U = "timestamp" ,
27
27
V = "verbose" ,
28
28
W = "pen" ,
@@ -45,7 +45,7 @@ def velo(self, data=None, **kwargs):
45
45
crosses. Symbol fills or their outlines may be colored based on constant
46
46
parameters or via color lookup tables.
47
47
48
- Must provide ``data`` and ``scaling ``.
48
+ Must provide ``data`` and ``spec ``.
49
49
50
50
Full option list at :gmt-docs:`supplements/geodesy/velo.html`
51
51
@@ -58,7 +58,7 @@ def velo(self, data=None, **kwargs):
58
58
:class:`pandas.DataFrame` with the tabular data. Note that text columns
59
59
are only supported with file or pandas DataFrame inputs.
60
60
61
- scaling : str
61
+ spec : str
62
62
Selects the meaning of the columns in the data file and the figure
63
63
to be plotted. In all cases, the scales are in data units per length
64
64
unit and sizes are in length units (default length unit is controlled
@@ -160,13 +160,13 @@ def velo(self, data=None, **kwargs):
160
160
{B}
161
161
{CPT}
162
162
rescale : str
163
- can be used to rescale the uncertainties of velocities
164
- (``scaling='e '`` and ``scaling='r '``) and rotations
165
- (``scaling='w'``). Can be combined with the ``confidence`` variable.
163
+ can be used to rescale the uncertainties of velocities (``spec='e'``
164
+ and ``spec='r '``) and rotations (``spec='w '``). Can be combined with
165
+ the ``confidence`` variable.
166
166
uncertainty_color : str
167
167
Sets the color or shade used for filling uncertainty wedges
168
- (``scaling ='w'``) or velocity error ellipses (``scaling ='e'`` or
169
- ``scaling ='r'``). If ``uncertainty_color`` is not specified, the
168
+ (``spec ='w'``) or velocity error ellipses (``spec ='e'`` or
169
+ ``spec ='r'``). If ``uncertainty_color`` is not specified, the
170
170
uncertainty regions will be transparent. **Note**: Using ``cmap`` and
171
171
``zvalue='+e'`` will update the uncertainty fill color based on the
172
172
selected measure in ``zvalue`` [magnitude error]. More details at
@@ -182,7 +182,7 @@ def velo(self, data=None, **kwargs):
182
182
Scale symbol sizes and pen widths on a per-record basis using the
183
183
*scale* read from the data set, given as the first column after the
184
184
(optional) *z* and *size* columns [Default is no scaling]. The symbol
185
- size is either provided by ``scaling `` or via the input *size* column.
185
+ size is either provided by ``spec `` or via the input *size* column.
186
186
Alternatively, append a constant *scale* that should be used instead of
187
187
reading a scale column.
188
188
shading : float or bool
@@ -191,7 +191,7 @@ def velo(self, data=None, **kwargs):
191
191
modulate the symbol fill color by simulating illumination [Default is
192
192
none]. If *intens* is not provided we will instead read the intensity
193
193
from an extra data column after the required input columns determined
194
- by ``scaling ``.
194
+ by ``spec ``.
195
195
line: str
196
196
[*pen*\ [**+c**\ [**f**\|\ **l**]]].
197
197
Draw lines. Ellipses and rotational wedges will have their outlines
@@ -231,7 +231,7 @@ def velo(self, data=None, **kwargs):
231
231
kwargs = self ._preprocess (** kwargs ) # pylint: disable=protected-access
232
232
233
233
if "S" not in kwargs or ("S" in kwargs and not isinstance (kwargs ["S" ], str )):
234
- raise GMTInvalidInput ("Scaling is a required argument and has to be a string." )
234
+ raise GMTInvalidInput ("Spec is a required argument and has to be a string." )
235
235
236
236
if isinstance (data , np .ndarray ) and not pd .api .types .is_numeric_dtype (data ):
237
237
raise GMTInvalidInput (
0 commit comments