Prerequisites & Notation

Before You Begin

This chapter assumes Matplotlib fluency (Chapter 15) and basic familiarity with LaTeX syntax. You do not need a full LaTeX installation for most features — Matplotlib's built-in mathtext renderer handles common math. A LaTeX installation is only needed for the PGF backend and full-preamble features.

  • Matplotlib OO API, rcParams, and savefig (Chapter 15)(Review ch15)

    Self-check: Can you configure rcParams and save a figure as PDF?

  • Basic LaTeX math mode syntax

    Self-check: Do you know that ab\frac{a}{b} makes a fraction and 01f(x)dx\int_0^1 f(x)\,dx makes an integral?

  • Pandas DataFrames (helpful for auto-tables)

    Self-check: Can you create a DataFrame and call df.to_latex()?

Notation for This Chapter

Terms and file formats used in this chapter.

SymbolMeaningIntroduced
PGFPGFPortable Graphics Format — a TeX-native vector formats01
preamblepreambleLaTeX commands loaded before the document bodys01
CSVCSVComma-separated values — common data exchange formats02