Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Labels
Milestone
Description
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]=1t[10,20]=2imshow(t,vmin=0,vmax=1,interpolation='lanczos')
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