pytest-mpl icon indicating copy to clipboard operation
pytest-mpl copied to clipboard

Add support for comparing multiple baseline images

Open TimoRoth opened this issue 3 years ago • 3 comments

As discussed in #149, this is our forward-ported code to deal with multiple valid baseline images. It's not yet tested, just a mostly blind forward-port that deals with the new summary.

The failing compare with the lowest rms value will be used for the summary. A shape-mismatch has infinitely low "rms" and will be preferred over any comparison mismatch.

TimoRoth avatar May 26 '22 16:05 TimoRoth

Not entirely sure why the tests are failing. Some of those I'm relatively sure I didn't even touch?

TimoRoth avatar May 26 '22 16:05 TimoRoth

Not entirely sure why the tests are failing. Some of those I'm relatively sure I didn't even touch?

This should be fixed by #162

ConorMacBride avatar May 26 '22 16:05 ConorMacBride

Ah, yeah. Just confirmed that they're failing on master as well for me.

TimoRoth avatar May 26 '22 17:05 TimoRoth