Skip to content

Commit 25530d9

Browse files
Remove title/label-whitespaces-trick from tests (#2024)
1 parent f2fb71f commit 25530d9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pygmt/tests/test_basemap.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def test_basemap_power_axis():
4848
fig.basemap(
4949
region=[0, 100, 0, 5000],
5050
projection="x1p0.5/-0.001",
51-
frame=['x1p+l"Crustal age"', "y500+lDepth"],
51+
frame=["x1p+lCrustal age", "y500+lDepth"],
5252
)
5353
return fig
5454

pygmt/tests/test_config.py

+3-3
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)