Skip to content

Commit 307b4bf

Browse files
committed
Fix examples/tutorials/basics/text.py
1 parent 6cd7d9a commit 307b4bf

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

examples/tutorials/basics/text.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,7 @@
197197

198198
# -----------------------------------------------------------------------------
199199
# Left: Add a tag to a subplot
200-
fig.basemap(
201-
region=[-5, 5, -5, 5],
202-
projection="X5c",
203-
frame=[Frame(axes="WStr"), Axis(annot=True, tick=True)],
204-
)
200+
fig.basemap(region=[-5, 5, -5, 5], projection="X5c", frame=["WStr", "af"])
205201

206202
fig.text(
207203
text="(a)",
@@ -214,11 +210,7 @@
214210

215211
# -----------------------------------------------------------------------------
216212
# Right: Add a text label outside of the plot or map frame
217-
fig.basemap(
218-
region=[-30, 30, 10, 60],
219-
projection="L0/35/23/47/5c",
220-
frame=[Frame(axes="wSnE"), Axis(annot=True, tick=True)],
221-
)
213+
fig.basemap(region=[-30, 30, 10, 60], projection="L0/35/23/47/5c", frame=["wSnE", "af"])
222214

223215
fig.text(
224216
text="@@100 km", # "@@" gives "@" in GMT or PyGMT

0 commit comments

Comments
 (0)