Description
Compares Matplotlib figure output in pytest tests. It helps projects detect visual regressions in plots, charts, rendering, and image-generation code.
Image comparisons are sensitive to fonts, DPI, backends, and platform differences. Set tolerances carefully and review baseline images before accepting changes.