./devel/py-test-mpl, Pytest plugin to help with testing figures output from Matplotlib

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.11, Package name: py37-test-mpl-0.11, Maintainer: kamelderouiche

This is a plugin to facilitate image comparison for Matplotlib
figures in pytest. Matplotlib includes a number of test utilities
and decorators, but these are geared towards the nose testing
framework. Pytest-mpl makes it easy to compare figures produced by
tests to reference images when using 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).


Master sites:

SHA1: 9f05f15e40f15deee4c68b3126a48cfedfd40365
RMD160: c81898c37897333c7ff3b1a01b5a2e4d14fc3054
Filesize: 192.65 KB

Version history: (Expand)