Files
Vijay Janapa Reddi e4a2e40a82 Remove research-questions callouts, fix ml_ops cascade figure, standardize figure font
Builds on the PR #1957 merge (Zeljko's Vol1 layout), otherwise byte-for-byte his version:

- Remove the end-of-chapter research-questions callouts from all chapters.
- ml_ops correction-cascade figure: keep Zeljko's Model A-D chain TikZ drawing,
  and rewrite the caption, alt-text, and lead-in to describe the chain (they
  carried a stale 'timeline' description that no longer matched the figure),
  plus an operations-impact line.
- Standardize the matplotlib figure font on a bundled TeX Gyre Heros (a free,
  redistributable Helvetica-metric clone) registered at runtime in
  book/tools/figures/style.py, so figures render with a real bold identically
  on macOS, Linux, and CI instead of falling back to DejaVu Sans or an
  unreachable macOS .ttc bold face.
2026-07-12 15:29:07 +02:00
..

Figure Tools

Production figure helpers for MLSysBook live here. These modules are importable Book Tools, not scratch scripts.

Modules

  • style.py: shared matplotlib palette, font stack, setup helpers, and simple book-owned chart helpers such as bar_compare().
  • margin/devices.py: stable margin-figure device vocabulary and drawing helpers used by the SVG generation workflow.

Script entrypoints that generate, insert, inventory, or render figures remain under book/tools/scripts/. Keep reusable drawing policy here and keep scripts thin where practical.