Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/matplotlib/tests/test_bbox_tight.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def test_bbox_inches_tight_clipping():
plt.gcf().artists.append(patch)


@image_comparison(['bbox_inches_tight_raster'],
@image_comparison(['bbox_inches_tight_raster'], tol=0.15, # For Ghostscript 10.06+.
remove_text=True, savefig_kwarg={'bbox_inches': 'tight'})
def test_bbox_inches_tight_raster():
"""Test rasterization with tight_layout"""
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/tests/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def test_alpha_interp():
axr.imshow(img, interpolation="bilinear")


@image_comparison(['interp_nearest_vs_none'],
@image_comparison(['interp_nearest_vs_none'], tol=3.7, # For Ghostscript 10.06+.
extensions=['pdf', 'svg'], remove_text=True)
def test_interp_nearest_vs_none():
"""Test the effect of "nearest" and "none" interpolation"""
Expand Down
Loading