Skip to content

Commit a88f1ac

Browse files
author
Meghan Jones
authored
Use 'Note' rather than 'Notes' as docstring section header (#1813)
1 parent b173c69 commit a88f1ac

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

pygmt/datasets/earth_age.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ def load_earth_age(resolution="01d", region=None, registration=None):
5454
The Earth seafloor crustal age grid. Coordinates are latitude and
5555
longitude in degrees. Age is in millions of years (Myr).
5656
57-
Notes
58-
-----
57+
Note
58+
----
5959
The :class:`xarray.DataArray` grid doesn't support slice operation, for
6060
Earth seafloor crustal age with resolutions of 5 arc-minutes or higher,
6161
which are stored as smaller tiles.

pygmt/datasets/earth_relief.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ def load_earth_relief(resolution="01d", region=None, registration=None, use_srtm
6262
The Earth relief grid. Coordinates are latitude and longitude in
6363
degrees. Relief is in meters.
6464
65-
Notes
66-
-----
65+
Note
66+
----
6767
The :class:`xarray.DataArray` grid doesn't support slice operation, for
6868
Earth relief data with resolutions of 5 arc-minutes or higher, which are
6969
stored as smaller tiles.

pygmt/src/grdhisteq.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ def equalize_grid(
202202
-------
203203
:meth:`pygmt.grd2cpt`
204204
205-
Notes
206-
-----
205+
Note
206+
----
207207
This method does a weighted histogram equalization for geographic
208208
grids to account for node area varying with latitude.
209209
"""
@@ -312,8 +312,8 @@ def compute_bins(
312312
-------
313313
:meth:`pygmt.grd2cpt`
314314
315-
Notes
316-
-----
315+
Note
316+
----
317317
This method does a weighted histogram equalization for geographic
318318
grids to account for node area varying with latitude.
319319
"""

0 commit comments

Comments
 (0)