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.
Enter search terms or a module, class or function name.