Skip to content

Commit

Permalink
Change argument to parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
core-man committed Mar 10, 2021
1 parent 8074cfe commit fb76425
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/tutorials/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@
fig.show()

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

0 comments on commit fb76425

Please sign in to comment.