Skip to content

Commit e8cd1e3

Browse files
Fix typos in advanced tutorial "Plotting focal mechanisms" (#4270)
1 parent 8caf8f5 commit e8cd1e3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/tutorials/advanced/focal_mechanisms.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
# Plot the same beachball three times with different settings:
187187
# (i) Fill the compressive quadrants
188188
# (ii) Plot the first nodal plane and the circumference in darkorange
189-
# (iii) Plot the circumfence in black on top; use "-" to not fill the quadrants
189+
# (iii) Plot the circumference in black on top; use "-" to not fill the quadrants
190190
for kwargs in [
191191
{"compressionfill": "lightorange"},
192192
{"nodal": "1/1p,darkorange"},
@@ -211,10 +211,10 @@
211211
# is an ASCII file with columns for ``plot_longitude`` and ``plot_latitude``, the
212212
# ``offset`` parameter has to be set to ``True``. Besides just drawing a line between
213213
# the beachball and the event location, a small circle can be plotted at the event
214-
# location by appending **+s** and the descired circle diameter. The connecting line as
214+
# location by appending **+s** and the desired circle diameter. The connecting line as
215215
# well as the outline of the circle are plotted with the setting of pen, or can be
216216
# adjusted separately. The fill of the small circle corresponds to the fill of the
217-
# compressive quadrantes.
217+
# compressive quadrants.
218218

219219
fig = pygmt.Figure()
220220
fig.basemap(region=region, projection=projection, frame=frame)
@@ -301,7 +301,7 @@
301301
#
302302
# The beachball can be sized and colored by the quantities given as ``magnitude`` and
303303
# ``depth``, e.g., by moment magnitude or hypocentral depth, respectively. Use the
304-
# parameter ``cmap`` to pass the descired colormap. Now, the fills of the small circles
304+
# parameter ``cmap`` to pass the desired colormap. Now, the fills of the small circles
305305
# indicating the event locations are given by the colormap.
306306

307307
fig = pygmt.Figure()

0 commit comments

Comments
 (0)