janosh opened this issue 3 years ago · 1 comments
As in #20 (tests/test_struct_vis.py), use matplotlib.testing.compare.compare_images() to test all functions that generate matplotlib figures.
tests/test_struct_vis.py
matplotlib.testing.compare.compare_images()
matplotlib
Maybe actually not worth the trouble. Makes tests very brittle to the point where the image diff tolerance needs to be so high that it seems less valuable. See 2882acf where diff RMS was bumped from 0.8 to 100.