Skip to content

Commit 982bb25

Browse files
Update tutorial
1 parent c5e652e commit 982bb25

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

examples/tutorials/advanced/focal_mechanisms.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,13 +284,13 @@
284284
# parameter. Additionally, the location of the label relative to the beachball [Default
285285
# is ``"TC"``, i.e., Top Center] can be changed by appending **+j** and an offset can
286286
# be applied by appending **+o** with values for *dx*\ /*dy*. Add a colored [Default is
287-
# white] box behind the label via the label ``labelbox``. Force a fixed size of the
287+
# white] box behind the label via the label ``label_box``. Force a fixed size of the
288288
# beachball by appending **+m** to the argument passed to the ``scale`` parameter.
289289

290290
fig = pygmt.Figure()
291291
fig.coast(region="d", projection="N10c", land="lightgray", frame=True)
292292

293-
fig.meca(spec=aki_multiple, scale="0.4c+m+f5p", labelbox="white@30", offset="+s0.1c")
293+
fig.meca(spec=aki_multiple, scale="0.4c+m+f5p", label_box="white@30", offset="+s0.1c")
294294

295295
fig.show()
296296

@@ -315,7 +315,7 @@
315315
spec=aki_multiple,
316316
scale="0.4c+f5p",
317317
offset="0.2p,gray30+s0.1c",
318-
labelbox="white@30",
318+
label_box="white@30",
319319
cmap=True,
320320
outline="0.2p,gray30",
321321
)

0 commit comments

Comments
 (0)