Skip to content

Commit ecc9232

Browse files
Improve and extend intro text
1 parent e71117c commit ecc9232

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

examples/gallery/embellishments/paragraph.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@
44
55
To plot longer text as one or several paragraphs the :meth:`pygmt.Figure.paragraph`
66
method can be used. The ``parwidth`` and ``linespacing`` parameters allow to set
7-
the line length and spacing of the paragraph, respectively.` Two paragraphs are
8-
automatically separated by a blank line.
7+
the line length and spacing of the paragraph, respectively.` The desired text can
8+
be provided using two ways to indicate a new paragraph:
9+
10+
(1) a single string separated by a blank line
11+
(2) a list of strings
12+
13+
During plotting the paragraphs are automatically separated by a blank line.
914
1015
For details on text formatting see the gallery example
1116
:doc:`Text formatting </gallery/embellishments/text_formatting>`.

0 commit comments

Comments
 (0)