pygmt.Figure.paragraph
- Figure.paragraph(x, y, text, parwidth, linespacing, font=None, angle=None, justify=None, alignment='left')
Typeset one or multiple paragraphs.
- Parameters:
x/y – The x, y coordinates of the paragraph.
text (
str
|Sequence
[str
]) – The paragraph text to typeset. If a sequence of strings is provided, each string is treated as a separate paragraph.font (
float
|str
|None
, default:None
) – The font of the text.angle (
float
|None
, default:None
) – The angle of the text.justify (
Optional
[Literal
['TL'
,'TC'
,'TR'
,'ML'
,'MC'
,'MR'
,'BL'
,'BC'
,'BR'
]], default:None
) – The justification of the block of text, relative to the given x, y position.alignment (
Literal
['left'
,'center'
,'right'
,'justified'
], default:'left'
) – The alignment of the text. Valid values are"left"
,"center"
,"right"
, and"justified"
.