diff --git a/pygmt/tests/test_helpers.py b/pygmt/tests/test_helpers.py index 5d13428b0b7..09d65eb345c 100644 --- a/pygmt/tests/test_helpers.py +++ b/pygmt/tests/test_helpers.py @@ -20,6 +20,7 @@ unique_name, ) from pygmt.helpers.testing import load_static_earth_relief, skip_if_no +from pygmt.params import Axis, Frame def test_load_static_earth_relief(): @@ -52,11 +53,12 @@ def test_non_ascii_to_octal(): fig.basemap( region=[0, 10, 0, 5], projection="X10c/5c", - frame=[ - "xaf+lISOLatin1: fi‰“”¥", - "yaf+lSymbol: αβ∇∋∈", - "WSen+tZapfDingbats: ①❷➂➍✦❝❞", - ], + frame=Frame( + axes="WSen", + xaxis=Axis(annot=True, tick=True, label="ISOLatin1: fi‰“”¥"), + yaxis=Axis(annot=True, tick=True, label="Symbol: αβ∇∋∈"), + title="ZapfDingbats: ①❷➂➍✦❝❞", + ), ) return fig