Skip to content

Commit 3292ba1

Browse files
committed
Stickler Whitespace Corrections
1 parent 835b19b commit 3292ba1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

gmt/base_plotting.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ def coast(self, **kwargs):
125125
with Session() as lib:
126126
lib.call_module("coast", build_arg_string(kwargs))
127127

128-
129128
@fmt_docstring
130129
@use_alias(
131130
R="region",
@@ -167,7 +166,6 @@ def grdcontour(self, grid, **kwargs):
167166
arg_str = " ".join([fname, build_arg_string(kwargs)])
168167
lib.call_module("grdcontour", arg_str)
169168

170-
171169
@fmt_docstring
172170
@use_alias(R="region", J="projection", W="pen", B="frame", I="shading", C="cmap")
173171
@kwargs_to_strings(R="sequence")

gmt/tests/test_grdcontour.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,20 @@
88
from ..exceptions import GMTInvalidInput
99
from ..datasets import load_earth_relief
1010

11+
1112
@pytest.mark.mpl_image_compare
1213
def test_grdcontour():
1314
"""Plot a contour image using an xarray grid
1415
with fixed contour interval
15-
"""
16+
"""
1617
grid = load_earth_relief()
1718
fig = Figure()
1819
fig.grdcontour(grid,
1920
contour_interval="1000",
2021
projection="W0/6i")
2122
return fig
2223

24+
2325
@pytest.mark.mpl_image_compare
2426
def test_grdcontour_labels():
2527
"""Plot a contour image using a xarray grid
@@ -31,7 +33,7 @@ def test_grdcontour_labels():
3133
contour_interval="1000",
3234
annotation_interval="5000",
3335
projection="W0/6i",
34-
pen=["a1p,red","c0.5p,black"],
36+
pen=["a1p,red", "c0.5p,black"],
3537
label_placement="d3i",
3638
)
3739
return fig

0 commit comments

Comments
 (0)