8000 GitHub - matplotlib/pytest-mpl at 9edc946bd7ea2730c95db091804e4472fe826a59
[go: up one dir, main page]

Skip to content

matplotlib/pytest-mpl

Repository files navigation

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).

About

A pytest plugin to facilitate image comparison for Matplotlib figures

Resources

License

Stars

Watchers

Forks

Contributors 30

0