8
8
from pygmt import Figure
9
9
from pygmt .datasets import load_earth_relief
10
10
from pygmt .exceptions import GMTInvalidInput
11
- from pygmt .helpers .testing import check_figures_equal
12
11
13
12
TEST_DATA_DIR = os .path .join (os .path .dirname (__file__ ), "data" )
14
13
TEST_CONTOUR_FILE = os .path .join (TEST_DATA_DIR , "contours.txt" )
@@ -46,7 +45,7 @@ def test_grdcontour_labels(grid):
46
45
projection = "W0/15c" ,
47
46
pen = ["a1p,red" , "c0.5p,black" ],
48
47
label_placement = "d6c" ,
49
- frame = True
48
+ frame = True ,
50
49
)
51
50
52
51
fig .grdcontour (grid , ** kwargs )
@@ -80,7 +79,7 @@ def test_grdcontour_file(grid):
80
79
pen = "0.5p,black" ,
81
80
region = [- 180 , 180 , - 70 , 70 ],
82
81
projection = "M15c" ,
83
- frame = True
82
+ frame = True ,
84
83
)
85
84
return fig
86
85
@@ -100,9 +99,7 @@ def test_grdcontour_interval_file_full_opts(grid):
100
99
"projection" : "M10c" ,
101
100
"cut" : 10 ,
102
101
}
103
- fig .grdcontour (
104
- ** comargs , limit = (- 25000 , - 1 ), pen = ["a1p,blue" , "c0.5p,blue" ]
105
- )
102
+ fig .grdcontour (** comargs , limit = (- 25000 , - 1 ), pen = ["a1p,blue" , "c0.5p,blue" ])
106
103
fig .grdcontour (** comargs , limit = 0 , pen = ["a1p,black" , "c0.5p,black" ], frame = True )
107
104
108
105
return fig
0 commit comments