Skip to content

Commit c5afdcc

Browse files
Meghan Jonesseisman
andauthored
Apply suggestions from code review
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
1 parent 77937cf commit c5afdcc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pygmt/src/grdhisteq.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class grdhisteq: # pylint: disable=invalid-name
2424
Two common use cases of :meth:`pygmt.grdhisteq` are to find data values
2525
that divide a grid into patches of equal area
2626
(:meth:`pygmt.grdhisteq.compute_bins`) or to write a grid with
27-
statistics based on some kind of cumulative distribution function using
27+
statistics based on some kind of cumulative distribution function
2828
(:meth:`pygmt.grdhisteq.equalize_grid`).
2929
3030
Histogram equalization provides a way to highlight data that has most
@@ -58,6 +58,7 @@ class grdhisteq: # pylint: disable=invalid-name
5858
N="gaussian",
5959
Q="quadratic",
6060
V="verbose",
61+
h="header",
6162
)
6263
@kwargs_to_strings(R="sequence")
6364
def _grdhisteq(grid, output_type=None, tmpfile=None, **kwargs):
@@ -109,6 +110,7 @@ def _grdhisteq(grid, output_type=None, tmpfile=None, **kwargs):
109110
110111
{R}
111112
{V}
113+
{h}
112114
113115
Returns
114116
-------

0 commit comments

Comments
 (0)