Skip to content

Commit 0a29e2d

Browse files
authored
Fix typos in Draping a dataset tutorial (#3422)
1 parent f9cf17c commit 0a29e2d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/tutorials/advanced/draping_on_3d_surface.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
# color-coding based on *another* grid we have to pass a second grid to the
4444
# ``drapegrid`` parameter; here we use a grid of the crustal age. In this case the
4545
# colormap specified via the ``cmap`` parameter applies to the grid passed to
46-
# ``drapegrid``, not to ``grid``. The azimuth and elevation a the 3-D plot are set via
46+
# ``drapegrid``, not to ``grid``. The azimuth and elevation of the 3-D plot are set via
4747
# the ``perspective`` parameter.
4848

4949
fig = pygmt.Figure()
@@ -83,7 +83,7 @@
8383
# topographic map of northwest Europe. This example is modified from
8484
# :gmt-docs:`GMT example 32 </gallery/ex32.html>`.
8585
# We have to consider the dimension of the image we want to drap. The image we will
86-
# download in this example has 1000 x 667 pixels, i.e. a aspect ratio of 3 x 2.
86+
# download in this example has 1000 x 667 pixels, i.e. an aspect ratio of 3 x 2.
8787

8888
# Define the study area in degrees East or North, with an extend of 6 degrees for
8989
# the longitude and 4 degrees for the latitude
@@ -104,7 +104,7 @@
104104
drapegrid = xr.DataArray(data, dims=("band", "y", "x"))
105105

106106
# %%
107-
# Again we create a 3-D plot with :meth:`pygmt.Figure.grdview` and passe an Earth relief
107+
# Again we create a 3-D plot with :meth:`pygmt.Figure.grdview` and pass an Earth relief
108108
# grid to the ``grid`` parameter to create the topographic surface. But now we pass the
109109
# PNG image which was loaded into an :class:`xarray.DataArray` to the ``drapgrid``
110110
# parameter.

0 commit comments

Comments
 (0)