Skip to content

Commit 9128811

Browse files
authored
Lint docstrings using docformatter 1.5.0 (#2066)
1 parent 06fca61 commit 9128811

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

pygmt/src/filter1d.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ def filter1d(data, output_type="pandas", outfile=None, **kwargs):
106106
- :class:`pandas.DataFrame` or :class:`numpy.ndarray` if ``outfile`` is
107107
not set (depends on ``output_type`` [Default is
108108
:class:`pandas.DataFrame`])
109-
110109
"""
111110
if kwargs.get("F") is None:
112111
raise GMTInvalidInput("Pass a required argument to 'filter_type'.")

pygmt/src/histogram.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
)
4444
def histogram(self, data, **kwargs):
4545
r"""
46-
Plots a histogram, and can read data from a file or
47-
list, array, or dataframe.
46+
Plots a histogram, and can read data from a file or list, array, or
47+
dataframe.
4848
4949
Full option list at :gmt-docs:`histogram.html`
5050

pygmt/src/nearneighbor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
@kwargs_to_strings(I="sequence", R="sequence", i="sequence_comma")
3939
def nearneighbor(data=None, x=None, y=None, z=None, **kwargs):
4040
r"""
41-
Grid table data using a "Nearest neighbor" algorithm
41+
Grid table data using a "Nearest neighbor" algorithm.
4242
4343
**nearneighbor** reads arbitrarily located (*x,y,z*\ [,\ *w*]) triples
4444
[quadruplets] and uses a nearest neighbor algorithm to assign a weighted

0 commit comments

Comments
 (0)