Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f8263c2

Browse files
committed
Raise tolerance on test_rasterize_dpi
1 parent 2365428 commit f8263c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def test_image_composite_alpha():
264264
ax.set_ylim([5, 0])
265265

266266

267-
@image_comparison(baseline_images=['rasterize_10dpi'], extensions=['pdf','svg'], tol=1.5e-2, remove_text=True)
267+
@image_comparison(baseline_images=['rasterize_10dpi'], extensions=['pdf','svg'], tol=5e-2, remove_text=True)
268268
def test_rasterize_dpi():
269269
# This test should check rasterized rendering with high output resolution.
270270
# It plots a rasterized line and a normal image with implot. So it will catch

0 commit comments

Comments
 (0)