File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3
3
About
4
4
-----
5
5
6
- This is a plugin to faciliate image comparison for
6
+ This is a plugin to facilitate image comparison for
7
7
`Matplotlib <http://www.matplotlib.org >`__ figures in pytest.
8
8
9
9
Matplotlib includes a number of test utilities and decorators, but these
10
10
are geared towards the `nose <http://nose.readthedocs.org/ >`__ testing
11
11
framework. Pytest-mpl makes it easy to compare figures produced by tests
12
12
to reference images when using `pytest <http://pytest.org >`__.
13
13
14
- For each figure to test, the reference image is substracted from the
14
+ For each figure to test, the reference image is subtracted from the
15
15
generated image, and the RMS of the residual is compared to a
16
16
user-specified tolerance. If the residual is too large, the test will
17
17
fail (this is implemented using helper functions from
You can’t perform that action at this time.
0 commit comments