Skip to content

Commit e572706

Browse files
committed
Merge pull request #3296 from matplotlib/v1.4.x
V1.4.x
2 parents 0287479 + 010a485 commit e572706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1439,6 +1439,6 @@ def thumbnail(infile, thumbfile, scale=0.1, interpolation='bilinear',
14391439
frameon=False, xticks=[], yticks=[])
14401440

14411441
basename, ext = os.path.splitext(basename)
1442-
ax.imshow(im, aspect='auto', resample=True, interpolation='bilinear')
1442+
ax.imshow(im, aspect='auto', resample=True, interpolation=interpolation)
14431443
fig.savefig(thumbfile, dpi=dpi)
14441444
return fig

0 commit comments

Comments
 (0)