alphalens icon indicating copy to clipboard operation
alphalens copied to clipboard

Test alphalens.tears.* functions: add matplotlib output comparison

Open luca-s opened this issue 8 years ago • 2 comments

Currently the tests relative to alphalens.tears.* functions check that no exceptions are thrown. It would be nice to capture matplotlib output, compute a checksum for each figure generated and save those checksums as test references so that we can compare the functions output other than no exceptions are thrown

luca-s avatar Nov 06 '17 12:11 luca-s

In order to accomplish this we need to force a specific matplotlib version for Travis CI, otherwise small differences in the plots due to matplotlib version discrepancies would result in test failures.

Does anybody see a problem in forcing a matplotlib version?

luca-s avatar Jan 02 '18 14:01 luca-s

👍 for reproducible results

richafrank avatar Jan 02 '18 14:01 richafrank