File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ def test_bbox_inches_tight_clipping():
108108 plt .gcf ().artists .append (patch )
109109
110110
111- @image_comparison (['bbox_inches_tight_raster' ],
111+ @image_comparison (['bbox_inches_tight_raster' ], tol = 0.15 , # For Ghostscript 10.06+.
112112 remove_text = True , savefig_kwarg = {'bbox_inches' : 'tight' })
113113def test_bbox_inches_tight_raster ():
114114 """Test rasterization with tight_layout"""
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ def test_alpha_interp():
3737 axr .imshow (img , interpolation = "bilinear" )
3838
3939
40- @image_comparison (['interp_nearest_vs_none' ],
40+ @image_comparison (['interp_nearest_vs_none' ], tol = 3.7 , # For Ghostscript 10.06+.
4141 extensions = ['pdf' , 'svg' ], remove_text = True )
4242def test_interp_nearest_vs_none ():
4343 """Test the effect of "nearest" and "none" interpolation"""
You can’t perform that action at this time.
0 commit comments