Text#

matplotlib has extensive text support, including support for mathematical expressions, truetype support for raster and vector outputs, newline separated text with arbitrary rotations, and Unicode support. These tutorials cover the basics of working with text in Matplotlib.

Text in Matplotlib Plots

Text in Matplotlib Plots

Text in Matplotlib Plots
Text properties and layout

Text properties and layout

Text properties and layout
Annotations

Annotations

Annotations
Writing mathematical expressions

Writing mathematical expressions

Writing mathematical expressions
Text rendering with XeLaTeX/LuaLaTeX via the ``pgf`` backend

Text rendering with XeLaTeX/LuaLaTeX via the pgf backend

Text rendering with XeLaTeX/LuaLaTeX via the ``pgf`` backend
Text rendering with LaTeX

Text rendering with LaTeX

Text rendering with LaTeX