Skip to content

Commit ba57788

Browse files
Adjust title and label in 'test_config'
1 parent 85b34bc commit ba57788

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pygmt/tests/test_config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ def test_config():
1414
# Change global settings of current figure
1515
config(FONT_ANNOT_PRIMARY="blue")
1616
fig.basemap(
17-
region=[0, 10, 0, 10], projection="X5c/5c", frame=["af", '+t"Blue Annotation"']
17+
region=[0, 10, 0, 10], projection="X5c/5c", frame=["af", "+tBlue Annotation"]
1818
)
1919

2020
with config(FONT_LABEL="red", FONT_ANNOT_PRIMARY="red"):
2121
fig.basemap(
2222
region=[0, 10, 0, 10],
2323
projection="X5c/5c",
24-
frame=['xaf+l"red label"', "yaf", '+t"red annotation"'],
24+
frame=["xaf+lred label", "yaf", "+tred annotation"],
2525
xshift="7c",
2626
)
2727

2828
fig.basemap(
2929
region=[0, 10, 0, 10],
3030
projection="X5c/5c",
31-
frame=["af", '+t"Blue Annotation"'],
31+
frame=["af", "+tBlue Annotation"],
3232
xshift="7c",
3333
)
3434
# Revert to default settings in current figure

0 commit comments

Comments
 (0)