Skip to content

Commit 6f9f84a

Browse files
committed
update docstring
1 parent 03a1984 commit 6f9f84a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

examples/gallery/images/grdclip.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
"""
2-
Grdclip
3-
-------
2+
Clip grid values
3+
----------------
44
The :meth:`pygmt.grdclip` method allows to clip defined ranges of grid values.
5+
In the example shown below we set all elevation values (grid points) smaller
6+
than 0 m (in general the bathymetric part of the grid) to a common value of
7+
-2000 m via the ``below`` parameter.
58
"""
69

710
import pygmt
811

912
fig = pygmt.Figure()
1013

11-
# Load sample grid and use area around the Hawaiian Islands
14+
# Load sample grid (1 arc minute global relief) and use area around the Hawaiian Islands
1215
grid = pygmt.datasets.load_earth_relief(resolution="01m", region=[-162, -153, 18, 23])
1316

1417
# Plot original grid

0 commit comments

Comments
 (0)