Skip to content

Commit 6691f77

Browse files
authored
Tiny fixes for the plot tutorial (#1026)
1 parent 88d5b0e commit 6691f77

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

examples/tutorials/plot.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@
4141

4242

4343
########################################################################################
44-
# We'll use :meth:`pygmt.Figure.plot` method to plot circles on the locations of the
45-
# hypocenters of the earthquakes.
44+
# We'll use the :meth:`pygmt.Figure.plot` method to plot circles on the earthquake epicenters.
4645

4746
fig = pygmt.Figure()
4847
fig.basemap(region=region, projection="M15c", frame=True)
@@ -52,7 +51,7 @@
5251

5352
########################################################################################
5453
# We used the style ``c0.3c`` which means "circles of 0.3 centimeter size". The ``pen``
55-
# parameter controls the outline of the symbols and the ``color`` controls the fill.
54+
# parameter controls the outline of the symbols and the ``color`` parameter controls the fill.
5655
#
5756
# We can map the size of the circles to the earthquake magnitude by passing an array to
5857
# the ``sizes`` parameter. Because the magnitude is on a logarithmic scale, it helps to
@@ -72,12 +71,12 @@
7271
fig.show()
7372

7473
########################################################################################
75-
# Notice that we didn't include the size in the ``style`` argument this time, just the
74+
# Notice that we didn't include the size in the ``style`` parameter this time, just the
7675
# symbol ``c`` (circles) and the unit ``c`` (centimeter). So in this case, the sizes
7776
# will be interpreted as being in centimeters.
7877
#
7978
# We can also map the colors of the markers to the depths by passing an array to the
80-
# ``color`` argument and providing a colormap name (``cmap``). We can even use the new
79+
# ``color`` parameter and providing a colormap name (``cmap``). We can even use the new
8180
# matplotlib colormap "viridis". Here, we first create a continuous colormap
8281
# ranging from the minimum depth to the maximum depth of the earthquakes
8382
# using :func:`pygmt.makecpt`, then set ``cmap=True`` in :func:`pygmt.Figure.plot`

0 commit comments

Comments
 (0)