Path to this page:
./
wip/py-test-mpl,
Pytest plugin to help with testing figures output from Matplotlib
Branch: CURRENT,
Version: 0.17.0,
Package name: py311-test-mpl-0.17.0,
Maintainer: kamelderouicheThis 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:
Filesize: 864.856 KB
Version history: (Expand)
- (2024-06-05) Updated to version: py311-test-mpl-0.17.0
- (2023-02-13) Updated to version: py310-test-mpl-0.11
- (2023-02-13) Package has been reborn
- (2021-10-08) Updated to version: py39-test-mpl-0.11
- (2020-09-29) Package has been reborn
- (2020-09-29) Package deleted from pkgsrc