|
8 | 8 |
|
9 | 9 | @pytest.mark.benchmark |
10 | 10 | @pytest.mark.mpl_image_compare |
11 | | -def test_pylogo(): |
| 11 | +def test_pylogo_color_light_nowordmark(): |
12 | 12 | """ |
13 | | - Plot the PyGMT logo using the default settings. |
| 13 | + Plot the PyGMT logo without the wordmark in color using light mode. |
14 | 14 | """ |
15 | 15 | 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) |
38 | 16 | fig.pygmtlogo(wordmark=False) |
39 | 17 | return fig |
40 | 18 |
|
41 | 19 |
|
42 | 20 | @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(): |
66 | 22 | """ |
67 | | - Plot the PyGMT logo in dark mode. |
| 23 | + Plot the PyGMT logo without the wordmark in color using dark mode. |
68 | 24 | """ |
69 | 25 | fig = Figure() |
70 | 26 | 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") |
72 | 28 | return fig |
0 commit comments