obspy.core.util.testing.ImageComparison.compare

ImageComparison.compare(reltol=1)[source]

Run matplotlib.testing.compare.compare_images() and raise an unittest.TestCase.failureException with the message string given by matplotlib if the comparison exceeds the allowed tolerance.

This Page