-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Matplotlib for Python Developers
Matplotlib has excellent text support, including mathematical expressions, TrueType font support for raster and vector outputs, newline separated text with arbitrary rotations, and Unicode.
We have total control over every text property (font size, font weight, text location, color, and so on) with sensible defaults set in the rc configuration file. Specifically for those interested in mathematical or scientific figures, Matplotlib implements a large number of TeX math symbols and commands to support mathematical expressions anywhere in the figure.
We already saw some text functions, but the following list contains all the functions which can be used to insert text with the pyplot interface, presented along with the corresponding API method and a description:
|
Pyplot function |
API method |
Description |
|---|---|---|
|
|
|
Adds text at an arbitrary location on the |
|
|
|
Adds an axis label to the... |