Skip to content

Commit 66bb37c

Browse files
committed
Merge branch 'main' into alias-system
2 parents 3b70672 + 4af6d20 commit 66bb37c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pygmt/src/grdfill.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,13 +185,15 @@ def grdfill(
185185
Example
186186
-------
187187
Fill holes in a bathymetric grid with a constant value of 20.
188+
188189
>>> import pygmt
189190
>>> # Load a bathymetric grid with missing data
190191
>>> earth_relief_holes = pygmt.datasets.load_sample_data(name="earth_relief_holes")
191192
>>> # Fill the holes with a constant value of 20
192193
>>> filled_grid = pygmt.grdfill(grid=earth_relief_holes, constantfill=20)
193194
194195
Inquire the bounds of each hole.
196+
195197
>>> pygmt.grdfill(grid=earth_relief_holes, inquire=True)
196198
array([[1.83333333, 6.16666667, 3.83333333, 8.16666667],
197199
[6.16666667, 7.83333333, 0.5 , 2.5 ]])

0 commit comments

Comments
 (0)