<p dir="auto">4 or more rows appears to use the expected color palette. However 3 uses unexpected black-grey-white colours for the points.</p>
<p dir="auto">Seems to be something similar to issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="53449860" data-permission-text="Title is private" data-url="https://github.com/mwaskom/seaborn/issues/414" data-hovercard-type="issue" data-hovercard-url="/mwaskom/seaborn/issues/414/hovercard" href="https://github.com/mwaskom/seaborn/issues/414">#414</a>.</p>
<p dir="auto">Working on the latest from master, I have code like this:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="(figure, axes) = plt.subplots(figsize=(17,9))
axes.set_title((&quot;Mean Monthly Temperature Cluster Map, 1894-2013\n&quot;
                &quot;Saint Francis, KS, USA&quot;), fontsize=20)
_ = sns.clustermap(temps,
                   figsize=(17, 9),
                   cbar_kws={&quot;label&quot;:
                             &quot;Temperature\n(F)&quot;},
                   ax=axes,
                   cmap=temps_cmap)"><pre class="notranslate">(<span class="pl-s1">figure</span>, <span class="pl-s1">axes</span>) <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>(<span class="pl-s1">figsize</span><span class="pl-c1">=</span>(<span class="pl-c1">17</span>,<span class="pl-c1">9</span>))
<span class="pl-s1">axes</span>.<span class="pl-en">set_title</span>((<span class="pl-s">"Mean Monthly Temperature Cluster Map, 1894-2013<span class="pl-cce">\n</span>"</span>
                <span class="pl-s">"Saint Francis, KS, USA"</span>), <span class="pl-s1">fontsize</span><span class="pl-c1">=</span><span class="pl-c1">20</span>)
<span class="pl-s1">_</span> <span class="pl-c1">=</span> <span class="pl-s1">sns</span>.<span class="pl-en">clustermap</span>(<span class="pl-s1">temps</span>,
                   <span class="pl-s1">figsize</span><span class="pl-c1">=</span>(<span class="pl-c1">17</span>, <span class="pl-c1">9</span>),
                   <span class="pl-s1">cbar_kws</span><span class="pl-c1">=</span>{<span class="pl-s">"label"</span>:
                             <span class="pl-s">"Temperature<span class="pl-cce">\n</span>(F)"</span>},
                   <span class="pl-s1">ax</span><span class="pl-c1">=</span><span class="pl-s1">axes</span>,
                   <span class="pl-s1">cmap</span><span class="pl-c1">=</span><span class="pl-s1">temps_cmap</span>)</pre></div>
<p dir="auto">Which gives this error:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
&lt;ipython-input-44-4574ed2a089c&gt; in &lt;module&gt;()
      7                              &quot;Temperature\n(F)&quot;},
      8                    ax=axes,
----&gt; 9                    cmap=temps_cmap)

.venv-mmpl/lib/python3.4/site-packages/seaborn/matrix.py in clustermap(data, pivot_kws, method, metric, z_score, standard_scale, figsize, cbar_kws, row_cluster, col_cluster, row_linkage, col_linkage, row_colors, col_colors, mask, **kwargs)
    898                         row_linkage=row_linkage, col_linkage=col_linkage,
    899                         mask=mask,
--&gt; 900                         **kwargs)

.venv-mmpl/lib/python3.4/site-packages/seaborn/matrix.py in plot(self, metric, method, colorbar_kws, row_cluster, col_cluster, row_linkage, col_linkage, mask, **kws)
    816 
    817         self.plot_colors(xind, yind, **kws)
--&gt; 818         self.plot_matrix(colorbar_kws, mask, xind, yind, **kws)
    819         return self
    820 

.venv-mmpl/lib/python3.4/site-packages/seaborn/matrix.py in plot_matrix(self, colorbar_kws, mask, xind, yind, **kws)
    797         self.data2d = self.data2d.iloc[yind, xind]
    798         heatmap(self.data2d, ax=self.ax_heatmap, cbar_ax=self.cax,
--&gt; 799                 cbar_kws=colorbar_kws, mask=mask, **kws)
    800         self.ax_heatmap.yaxis.set_ticks_position('right')
    801         self.ax_heatmap.yaxis.set_label_position('right')

TypeError: heatmap() got multiple values for keyword argument 'ax'"><pre class="notranslate"><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span>
<span class="pl-v">TypeError</span>                                 <span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>)
<span class="pl-c1">&lt;</span><span class="pl-s1">ipython</span><span class="pl-c1">-</span><span class="pl-s1">input</span><span class="pl-c1">-</span><span class="pl-c1">44</span><span class="pl-c1">-</span><span class="pl-c1">4574</span><span class="pl-s1">ed2a089c</span><span class="pl-c1">&gt;</span> <span class="pl-s1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">module</span><span class="pl-c1">&gt;</span>()
      <span class="pl-c1">7</span>                              <span class="pl-s">"Temperature<span class="pl-cce">\n</span>(F)"</span>},
      <span class="pl-c1">8</span>                    <span class="pl-s1">ax</span><span class="pl-c1">=</span><span class="pl-s1">axes</span>,
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">9</span>                    <span class="pl-s1">cmap</span><span class="pl-c1">=</span><span class="pl-s1">temps_cmap</span>)

.<span class="pl-s1">venv</span><span class="pl-c1">-</span><span class="pl-s1">mmpl</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">4</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">seaborn</span><span class="pl-c1">/</span><span class="pl-s1">matrix</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">clustermap</span>(<span class="pl-s1">data</span>, <span class="pl-s1">pivot_kws</span>, <span class="pl-s1">method</span>, <span class="pl-s1">metric</span>, <span class="pl-s1">z_score</span>, <span class="pl-s1">standard_scale</span>, <span class="pl-s1">figsize</span>, <span class="pl-s1">cbar_kws</span>, <span class="pl-s1">row_cluster</span>, <span class="pl-s1">col_cluster</span>, <span class="pl-s1">row_linkage</span>, <span class="pl-s1">col_linkage</span>, <span class="pl-s1">row_colors</span>, <span class="pl-s1">col_colors</span>, <span class="pl-s1">mask</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
    <span class="pl-c1">898</span>                         <span class="pl-s1">row_linkage</span><span class="pl-c1">=</span><span class="pl-s1">row_linkage</span>, <span class="pl-s1">col_linkage</span><span class="pl-c1">=</span><span class="pl-s1">col_linkage</span>,
    <span class="pl-c1">899</span>                         <span class="pl-s1">mask</span><span class="pl-c1">=</span><span class="pl-s1">mask</span>,
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">900</span>                         <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)

.<span class="pl-s1">venv</span><span class="pl-c1">-</span><span class="pl-s1">mmpl</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">4</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">seaborn</span><span class="pl-c1">/</span><span class="pl-s1">matrix</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">plot</span>(<span class="pl-s1">self</span>, <span class="pl-s1">metric</span>, <span class="pl-s1">method</span>, <span class="pl-s1">colorbar_kws</span>, <span class="pl-s1">row_cluster</span>, <span class="pl-s1">col_cluster</span>, <span class="pl-s1">row_linkage</span>, <span class="pl-s1">col_linkage</span>, <span class="pl-s1">mask</span>, <span class="pl-c1">**</span><span class="pl-s1">kws</span>)
    <span class="pl-c1">816</span> 
    <span class="pl-c1">817</span>         <span class="pl-s1">self</span>.<span class="pl-en">plot_colors</span>(<span class="pl-s1">xind</span>, <span class="pl-s1">yind</span>, <span class="pl-c1">**</span><span class="pl-s1">kws</span>)
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">818</span>         <span class="pl-s1">self</span>.<span class="pl-en">plot_matrix</span>(<span class="pl-s1">colorbar_kws</span>, <span class="pl-s1">mask</span>, <span class="pl-s1">xind</span>, <span class="pl-s1">yind</span>, <span class="pl-c1">**</span><span class="pl-s1">kws</span>)
    <span class="pl-c1">819</span>         <span class="pl-k">return</span> <span class="pl-s1">self</span>
    <span class="pl-c1">820</span> 

.<span class="pl-s1">venv</span><span class="pl-c1">-</span><span class="pl-s1">mmpl</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">4</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">seaborn</span><span class="pl-c1">/</span><span class="pl-s1">matrix</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">plot_matrix</span>(<span class="pl-s1">self</span>, <span class="pl-s1">colorbar_kws</span>, <span class="pl-s1">mask</span>, <span class="pl-s1">xind</span>, <span class="pl-s1">yind</span>, <span class="pl-c1">**</span><span class="pl-s1">kws</span>)
    <span class="pl-c1">797</span>         <span class="pl-s1">self</span>.<span class="pl-s1">data2d</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">data2d</span>.<span class="pl-s1">iloc</span>[<span class="pl-s1">yind</span>, <span class="pl-s1">xind</span>]
    <span class="pl-c1">798</span>         <span class="pl-s1">heatmap</span>(<span class="pl-s1">self</span>.<span class="pl-s1">data2d</span>, <span class="pl-s1">ax</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">ax_heatmap</span>, <span class="pl-s1">cbar_ax</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">cax</span>,
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">799</span>                 <span class="pl-s1">cbar_kws</span><span class="pl-c1">=</span><span class="pl-s1">colorbar_kws</span>, <span class="pl-s1">mask</span><span class="pl-c1">=</span><span class="pl-s1">mask</span>, <span class="pl-c1">**</span><span class="pl-s1">kws</span>)
    <span class="pl-c1">800</span>         <span class="pl-s1">self</span>.<span class="pl-s1">ax_heatmap</span>.<span class="pl-s1">yaxis</span>.<span class="pl-en">set_ticks_position</span>(<span class="pl-s">'right'</span>)
    <span class="pl-c1">801</span>         <span class="pl-s1">self</span>.<span class="pl-s1">ax_heatmap</span>.<span class="pl-s1">yaxis</span>.<span class="pl-en">set_label_position</span>(<span class="pl-s">'right'</span>)

<span class="pl-v">TypeError</span>: <span class="pl-en">heatmap</span>() <span class="pl-s1">got</span> <span class="pl-s1">multiple</span> <span class="pl-s1">values</span> <span class="pl-k">for</span> <span class="pl-s1">keyword</span> <span class="pl-s1">argument</span> <span class="pl-s">'ax'</span></pre></div>