Skip to content

Commit 5b62dd8

Browse files
committed
formatting
1 parent 26cf332 commit 5b62dd8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

examples/gallery/symbols/text_symbols.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
Text symbols
33
------------
44
The :meth:`pygmt.Figure.plot` method allows to plot text symbols.
5+
6+
A text symbol can be drawn by passing **l**\ *size*\ **+t**\ *string* to
7+
the ``style`` parameter where *size* defines the size of the text symbol
8+
(note: the size is only approximate; no individual scaling is done for
9+
different characters) and *string* can be a letter or a text string
10+
(less than 256 characters). Optionally, you can append **+f**\ *font* select
11+
a particular font [Default is FONT_ANNOT_PRIMARY] as well as **+j**\ *justify*
12+
to change the justification [Default is CM].
513
"""
614

715
import pygmt

0 commit comments

Comments
 (0)