Skip to content

Commit 6762484

Browse files
committed
Simplify the test for begin/end to avoid using Frame/Axis classes
1 parent 15cf815 commit 6762484

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

pygmt/tests/test_session_management.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
import pytest
1010
from pygmt.clib import Session
11-
from pygmt.params import Axis
1211
from pygmt.session_management import begin, end
1312

1413

@@ -74,11 +73,7 @@ def _gmt_func_wrapper(figname):
7473

7574
reload(pygmt)
7675
fig = pygmt.Figure()
77-
fig.basemap(
78-
region=[10, 70, -3, 8],
79-
projection="X8c/6c",
80-
frame=Axis(annot=True, tick=True, grid=True),
81-
)
76+
fig.basemap(region=[10, 70, -3, 8], projection="X8c/6c", frame=True)
8277
fig.savefig(figname)
8378

8479

0 commit comments

Comments
 (0)