Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 394 Bytes

README.rst

File metadata and controls

8 lines (7 loc) · 394 Bytes

This is a plugin to facilitate image comparison for Matplotlib figures in pytest.

For each figure to test, the reference image is subtracted from the generated image, and the RMS of the residual is compared to a user-specified tolerance. If the residual is too large, the test will fail (this is implemented using helper functions from matplotlib.testing).