10000 Merge pull request #2887 from megies/fix_image_comparison · matplotlib/matplotlib@25adc1c · GitHub
[go: up one dir, main page]

Skip to content

Commit 25adc1c

Browse files
committed
Merge pull request #2887 from megies/fix_image_comparison
fix a bug introduced in c998561
2 parents 9fd85d1 + 617d22a commit 25adc1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/testing/compare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ def compare_images(expected, actual, tol, in_decorator=False):
335335
save_diff_image(expected, actual, diff_image)
336336

337337
results = dict(rms=rms, expected=str(expected),
338-
actual=str(actual), diff=str(diff_image))
338+
actual=str(actual), diff=str(diff_image), tol=tol)
339339

340340
if not in_decorator:
341341
# Then the results should be a string suitable for stdout.

0 commit comments

Comments
 (0)
0