<p dir="auto">Running this code in a jupyter notebook plots a heatmap which is cutoff at the top and bottom -- horizontal view is ok.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="data=np.array([[7.49377179e-10, 5.04982270e-02, 8.41080502e-01, 1.08421271e-01],
    [6.33214717e-02, 6.86063645e-01, 1.57489835e-01, 9.31250485e-02],
    [1.42185280e-02, 1.06747920e-01, 8.38806192e-01, 4.02273604e-02],
    [7.81118162e-01, 1.28774739e-32, 4.47694456e-24, 2.18881838e-01]])
sns.heatmap(data,annot=True,fmt='.2f',cmap='Reds',vmin=0,vmax=1,cbar=False,mask=(data&lt;0.01))"><pre class="notranslate"><code class="notranslate">data=np.array([[7.49377179e-10, 5.04982270e-02, 8.41080502e-01, 1.08421271e-01],
    [6.33214717e-02, 6.86063645e-01, 1.57489835e-01, 9.31250485e-02],
    [1.42185280e-02, 1.06747920e-01, 8.38806192e-01, 4.02273604e-02],
    [7.81118162e-01, 1.28774739e-32, 4.47694456e-24, 2.18881838e-01]])
sns.heatmap(data,annot=True,fmt='.2f',cmap='Reds',vmin=0,vmax=1,cbar=False,mask=(data&lt;0.01))
</code></pre></div>
<ul dir="auto">
<li>seaborn 0.9.0</li>
<li>matplotlib 3.1.1</li>
</ul>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/207405/64956372-acefe480-d88a-11e9-8847-f20cebe3815d.png"><img src="https://user-images.githubusercontent.com/207405/64956372-acefe480-d88a-11e9-8847-f20cebe3815d.png" alt="Screenshot from 2019-09-16 14-02-35" style="max-width: 100%;"></a></p>
<p dir="auto"></p><div class="Box Box--condensed my-2">
  <div class="Box-header f6">
    <p class="mb-0 text-bold">
      <a href="https://github.com/mwaskom/seaborn/blob/102cf08f9e40ef7037daf4b3b60b94ee144dc5cb/seaborn/distributions.py#L216">seaborn/seaborn/distributions.py</a>
    </p>
    <p class="mb-0 color-fg-muted">
         Line 216
      in
      <a data-pjax="true" class="commit-tease-sha" href="/mwaskom/seaborn/commit/102cf08f9e40ef7037daf4b3b60b94ee144dc5cb">102cf08</a>
    </p>
  </div>
  <div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data">
    <table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip="">

        <tbody><tr class="border-0">
          <td id="L216" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="216"></td>
          <td id="LC216" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">hist_kws</span>.<span class="pl-en">setdefault</span>(<span class="pl-s">"normed"</span>, <span class="pl-s1">norm_hist</span>) </td>
        </tr>
    </tbody></table>
  </div>
</div>
<p></p>
<p dir="auto">'normed' kwarg is deprecated</p>