About 1,410,000 results
Open links in new tab
  1. matplotlib.pyplot.textMatplotlib 3.10.8 documentation

    matplotlib.pyplot.text # matplotlib.pyplot.text(x, y, s, fontdict=None, **kwargs) [source] # Add text to the Axes. Add the text s to the Axes at location x, y in data coordinates, with a default …

  2. Text in Matplotlib — Matplotlib 3.10.8 documentation

    Text in Matplotlib # Matplotlib has extensive text support, including support for mathematical expressions, truetype support for raster and vector outputs, newline separated text with arbitrary …

  3. Placing text boxes — Matplotlib 3.10.8 documentation

    Placing text boxes # When decorating Axes with text boxes, two useful tricks are to place the text in axes coordinates (see Transformations Tutorial), so the text doesn't move around with changes in x …

  4. Pyplot tutorial — Matplotlib 3.10.8 documentation

    Pyplot tutorial # An introduction to the pyplot interface. Please also see Quick start guide for an overview of how Matplotlib works and Matplotlib Application Interfaces (APIs) for an explanation of the trade …

  5. Custom Legends with Matplotlib - GeeksforGeeks

    Jul 23, 2025 · Output: Change the Legend Position and Title in Matplotlib Matplotlib in Python to create a plot with two curves representing the sine and cosine functions. It customizes the plot by assigning …

  6. Add Text Inside the Plot in Matplotlib - GeeksforGeeks

    Oct 3, 2025 · The matplotlib.pyplot.text () function is used to add text inside the plot. The syntax adds text at an arbitrary location of the axes. It also supports mathematical expressions. Examples of …

  7. Text, labels and annotations — Matplotlib 3.10.8 documentation

    Explore Matplotlib's comprehensive guide on text, labels, and annotations for creating informative and visually appealing plots.

  8. Matplotlib Draw Rectangle: Add, Fill, Annotate & Highlight Regions ...

    Jan 30, 2021 · Need to highlight regions, create annotations, or add geometric shapes to your plots? This guide shows exactly how to draw rectangles in Matplotlib using patches.Rectangle —from crisp …

  9. Writing mathematical expressions — Matplotlib 3.10.8 documentation

    Writing mathematical expressions # Matplotlib implements a lightweight TeX expression parser and layout engine and Mathtext is the subset of Tex markup that this engine supports. Note that …

  10. Annotate plots — Matplotlib 3.10.8 documentation

    Annotate plots # The following examples show ways to annotate plots in Matplotlib. This includes highlighting specific points of interest and using various visual tools to call attention to this point. For …