🔵 🔵 🔵


Primary

၊၊||၊|။

matplotlib.text.Text() ⚬|Documentation|1st|20251021155315-00-⌔

matplotlib.text — Matplotlib 3.10.8 documentation

class matplotlib.text.Text(x=0, y=0, text='', ﹡, color=None, verticalalignment='baseline', horizontalalignment='left', multialignment=None, fontproperties=None, rotation=None, linespacing=None, rotation_mode=None, usetex=None, wrap=False, transform_rotates_text=False, parse_math=None, antialiased=None, ﹡﹡kwargs)

Bases: Artist

Handle storing and drawing of text in window or data coordinates.

Create a Text instance at x, y with string text.

The text is aligned relative to the anchor point (x, y) according to horizontalalignment (default: ‘left’) and verticalalignment (default: ‘baseline’). See also Text alignment.

While Text accepts the ‘label’ keyword argument, by default it is not added to the handles of a legend.

Valid keyword arguments are:

📊 ➺

Printed 2026-06-28.

(echo:: @ )

Link to original

Secondary

• • •