Bug report
Bug summary
With imshow(), image interpolation gives wrong results near pixels with values exceeding vmax. A large rectangular region (given by the interpolation kernel size) is filled with color corresponding to maximum value.
Code for reproduction
t = zeros((50, 50))
t[10, 10] = 1
t[10, 20] = 2
imshow(t, vmin=0, vmax=1, interpolation='lanczos')
see gist
Actual outcome

Expected outcome
Ok with matplotlib 2.0.0

Matplotlib version
- Operating System: macOS
- Matplotlib Version: 2.0.1, 2.0.2
- Python Version: 2.7
- Jupyter Version (if applicable):
- Other Libraries:
matplotlib installed via conda-forge
Bug report
Bug summary
With imshow(), image interpolation gives wrong results near pixels with values exceeding vmax. A large rectangular region (given by the interpolation kernel size) is filled with color corresponding to maximum value.
Code for reproduction
see gist
Actual outcome
Expected outcome
Ok with matplotlib 2.0.0
Matplotlib version
matplotlib installed via conda-forge