earthlab / matplotcheck

A python package for checking and testing matplotlib plots. We use this for autograding student assignments but there are many other potential use cases including package testing (for packages with plots)!
https://matplotcheck.readthedocs.io
BSD 3-Clause "New" or "Revised" License
18 stars 8 forks source link

Fix assert_xydata() incorrectly failing on floating point numbers #133

Closed marty-larocque closed 4 years ago

marty-larocque commented 4 years ago

assert_xydata() is incorrectly failing when comparing floating point numbers with slight inconsistencies due to floating point arithmetic.

We should fix this issue.

lwasser commented 4 years ago

https://github.com/earthlab/matplotcheck/pull/143 <- also implemented here.