<p dir="auto">I'm plotting the same image (a numpy float32 array) with <code class="notranslate">imshow(..., interpolation='bilinear')</code> on matplotlib 2.0.0 and 2.0.2.</p>
<p dir="auto">Click to see in full:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/7391155/26835386/20980584-4ad0-11e7-8719-83beec5126d5.png"><img src="https://cloud.githubusercontent.com/assets/7391155/26835386/20980584-4ad0-11e7-8719-83beec5126d5.png" alt="matplotlib" style="max-width: 100%;"></a></p>
<p dir="auto">On 2.0.0 the image is perfectly smooth. However, on 2.0.2 there are noticeable pixelization effects.</p>
<p dir="auto">Has <code class="notranslate">imshow()</code> changed between these two versions?</p>
<h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>
<p dir="auto">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.</p>

<p dir="auto"><strong>Code for reproduction</strong></p>

<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="t = zeros((50, 50))
t[10, 10] = 1
t[10, 20] = 2
imshow(t, vmin=0, vmax=1, interpolation='lanczos')"><pre class="notranslate"><span class="pl-s1">t</span> <span class="pl-c1">=</span> <span class="pl-en">zeros</span>((<span class="pl-c1">50</span>, <span class="pl-c1">50</span>))
<span class="pl-s1">t</span>[<span class="pl-c1">10</span>, <span class="pl-c1">10</span>] <span class="pl-c1">=</span> <span class="pl-c1">1</span>
<span class="pl-s1">t</span>[<span class="pl-c1">10</span>, <span class="pl-c1">20</span>] <span class="pl-c1">=</span> <span class="pl-c1">2</span>
<span class="pl-en">imshow</span>(<span class="pl-s1">t</span>, <span class="pl-s1">vmin</span><span class="pl-c1">=</span><span class="pl-c1">0</span>, <span class="pl-s1">vmax</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">interpolation</span><span class="pl-c1">=</span><span class="pl-s">'lanczos'</span>)</pre></div>
<p dir="auto"><a href="https://gist.github.com/geggo/b40da1b69b2a1cd37f8a8454423d3495">see gist</a></p>
<p dir="auto"><strong>Actual outcome</strong></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/968371/26103864/b0f02152-3a3b-11e7-8ba2-ba793a9a1be9.png"><img width="253" alt="download 2" src="https://cloud.githubusercontent.com/assets/968371/26103864/b0f02152-3a3b-11e7-8ba2-ba793a9a1be9.png" style="max-width: 100%;"></a></p>

<p dir="auto"><strong>Expected outcome</strong></p>


<p dir="auto">Ok with matplotlib 2.0.0</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/968371/26103723/2271b1de-3a3b-11e7-9497-501d50a59101.png"><img width="253" alt="download" src="https://cloud.githubusercontent.com/assets/968371/26103723/2271b1de-3a3b-11e7-9497-501d50a59101.png" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Matplotlib version</strong></p>

<ul dir="auto">
<li>Operating System: macOS</li>
<li>Matplotlib Version: 2.0.1, 2.0.2</li>
<li>Python Version: 2.7</li>
<li>Jupyter Version (if applicable):</li>
<li>Other Libraries:</li>
</ul>


<p dir="auto">matplotlib installed via conda-forge</p>