Skip to content

Commit

Permalink
test: increase image tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
kalekundert committed Jan 31, 2022
1 parent 0572a61 commit 1584728
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ def test_pick_attrs(df, attrs, expected, error):
Optional('color', default='rainbow'): str,
**with_wellmap.error_or({
'expected': str,
Optional('tol', default=1): Coerce(float),
# When running on CI, I get RMS values of 2-8.
Optional('tol', default=10): Coerce(float),
}),
}),
indirect=['layout'],
Expand All @@ -83,7 +84,8 @@ def test_show(layout, attrs, color, tol, expected, error):
Optional('color', default='rainbow'): str,
**with_wellmap.error_or({
'expected': str,
Optional('tol', default=1): Coerce(float),
# When running on CI, I get RMS values of 2-8.
Optional('tol', default=10): Coerce(float),
}),
}),
indirect=['layout'],
Expand Down

0 comments on commit 1584728

Please sign in to comment.