Skip to content

Commit d65d6b7

Browse files
committed
Tiny improve for user guide for text
1 parent fb9f9c0 commit d65d6b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/tutorials/text.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
fig.basemap(region=[108, 120, -5, 8], projection="M20c", frame="a")
3838
fig.coast(land="black", water="skyblue")
3939

40-
# Plotting text annotations using single elements
40+
# Plot text annotations using single element
4141
fig.text(text="SOUTH CHINA SEA", x=112, y=6)
4242

43-
# Plotting text annotations using lists of elements
43+
# Plot text annotations using lists of elements
4444
fig.text(text=["CELEBES SEA", "JAVA SEA"], x=[119, 112], y=[3.25, -4.6])
4545

4646
fig.show()
@@ -88,7 +88,7 @@
8888

8989
# Plot region names / sea names from a text file, where
9090
# the longitude (x) and latitude (y) coordinates are in the first two columns.
91-
# Setting angle/font/justify to ``True`` will indicate that those columns are
91+
# Setting angle/font/justify to True will indicate that those columns are
9292
# present in the text file too (Note: must be in that order!).
9393
# Finally, the text to be printed will be in the last column
9494
fig.text(textfiles="examples.txt", angle=True, font=True, justify=True)

0 commit comments

Comments
 (0)