Skip to content

Commit bc03d09

Browse files
committed
[format-command] fixes
1 parent 3243e07 commit bc03d09

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

pygmt/datasets/samples.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def load_fractures_compilation():
124124
data = pd.read_csv(fname, header=None, sep=r"\s+", names=["azimuth", "length"])
125125
return data[["length", "azimuth"]]
126126

127-
127+
128128
def load_hotspots():
129129
"""
130130
Load a table with the locations, names, and suggested symbol sizes of
@@ -149,7 +149,8 @@ def load_hotspots():
149149
columns = ["longitude", "latitude", "symbol_size", "place_name"]
150150
data = pd.read_table(filepath_or_buffer=fname, sep="\t", skiprows=3, names=columns)
151151
return data
152-
152+
153+
153154
def load_mars_shape():
154155
"""
155156
Load a table of data for the shape of Mars.

pygmt/tests/test_datasets_samples.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ def test_mars_shape():
9090
assert summary.loc["max", "lat"] == 85.887
9191
assert summary.loc["min", "radius(m)"] == -6930
9292
assert summary.loc["max", "radius(m)"] == 15001
93-
93+
94+
9495
def test_hotspots():
9596
"""
9697
Check that the @hotspots.txt dataset loads without errors.
@@ -104,4 +105,3 @@ def test_hotspots():
104105
"place_name",
105106
]
106107
assert isinstance(data, pd.DataFrame)
107-

0 commit comments

Comments
 (0)