Skip to content

Commit bf3d637

Browse files
Reduce tests
1 parent 562ffa4 commit bf3d637

1 file changed

Lines changed: 5 additions & 49 deletions

File tree

pygmt/tests/test_pygmtlogo.py

Lines changed: 5 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -8,65 +8,21 @@
88

99
@pytest.mark.benchmark
1010
@pytest.mark.mpl_image_compare
11-
def test_pylogo():
11+
def test_pylogo_color_light_nowordmark():
1212
"""
13-
Plot the PyGMT logo using the default settings.
13+
Plot the PyGMT logo without the wordmark in color using light mode.
1414
"""
1515
fig = Figure()
16-
fig.pygmtlogo()
17-
return fig
18-
19-
20-
@pytest.mark.mpl_image_compare
21-
def test_pylogo_vertical_wordmark():
22-
"""
23-
Plot the PyGMT logo with vertical orientation of the wordmark.
24-
"""
25-
fig = Figure()
26-
fig.basemap(region=[-5, 5, -5, 5], projection="X10c", frame=1)
27-
fig.pygmtlogo(wordmark="vertical")
28-
return fig
29-
30-
31-
@pytest.mark.mpl_image_compare
32-
def test_pylogo_no_wordmark():
33-
"""
34-
Plot the PyGMT logo without wordmark.
35-
"""
36-
fig = Figure()
37-
fig.basemap(region=[-5, 5, -5, 5], projection="X10c", frame=1)
3816
fig.pygmtlogo(wordmark=False)
3917
return fig
4018

4119

4220
@pytest.mark.mpl_image_compare
43-
def test_pylogo_color_darkmode():
44-
"""
45-
Plot the PyGMT logo in dark mode.
46-
"""
47-
fig = Figure()
48-
fig.basemap(region=[-5, 5, -5, 5], projection="X10c", frame=1)
49-
fig.pygmtlogo(theme="dark")
50-
return fig
51-
52-
53-
@pytest.mark.mpl_image_compare
54-
def test_pylogo_blackwhite_light():
55-
"""
56-
Plot the PyGMT logo in dark mode.
57-
"""
58-
fig = Figure()
59-
fig.basemap(region=[-5, 5, -5, 5], projection="X10c", frame=1)
60-
fig.pygmtlogo(color=False)
61-
return fig
62-
63-
64-
@pytest.mark.mpl_image_compare
65-
def test_pylogo_backwhite_dark():
21+
def test_pylogo_color_dark_nowordmark():
6622
"""
67-
Plot the PyGMT logo in dark mode.
23+
Plot the PyGMT logo without the wordmark in color using dark mode.
6824
"""
6925
fig = Figure()
7026
fig.basemap(region=[-5, 5, -5, 5], projection="X10c", frame=1)
71-
fig.pygmtlogo(color=False, theme="dark")
27+
fig.pygmtlogo(wordmark=False, mode="dark")
7228
return fig

0 commit comments

Comments
 (0)