<p dir="auto">When trying out the standard lineplot example on my machine, the code stops with an error in algorithm.py line 85:</p>
<p dir="auto"><code class="notranslate">TypeError: Cannot cast array data from dtype('int64') to dtype('int32') according to the rule 'safe'</code></p>
<p dir="auto">line 85 is: <code class="notranslate">sample = [a.take(resampler, axis=0) for a in args]</code></p>
<p dir="auto">where <code class="notranslate">resampler</code> comes from the previous line <code class="notranslate">resampler = integers(0, n, n)</code></p>
<p dir="auto">and <a href="https://docs.scipy.org/doc/numpy/reference/random/generated/numpy.random.Generator.integers.html" rel="nofollow"><code class="notranslate">integers</code></a> is <code class="notranslate">np.random.default_rng().integers</code> which default returns an array of int64.</p>
<p dir="auto">Probably a recent change to <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.take.html" rel="nofollow"><code class="notranslate">np.take</code></a> now checks the type of its first parameter (<code class="notranslate">indices</code>).<br>
An obvious solution seems to be changing line 84 to <code class="notranslate">resampler = integers(0, n, n, dtype=np.int32)</code>.</p>
<p dir="auto">numpy version 1.18.1<br>
seaborn version 0.10.0</p>
<p dir="auto">Just running the default example caused the crash:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import seaborn as sns
import numpy as np
fmri = sns.load_dataset(&quot;fmri&quot;)
ax = sns.lineplot(x=&quot;timepoint&quot;, y=&quot;signal&quot;, data=fmri)"><pre class="notranslate"><code class="notranslate">import seaborn as sns
import numpy as np
fmri = sns.load_dataset("fmri")
ax = sns.lineplot(x="timepoint", y="signal", data=fmri)
</code></pre></div>
<p dir="auto">Using the latest commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/mwaskom/seaborn/commit/74ca1908ff88383a722df51b4adfed4e3e84a83b/hovercard" href="https://github.com/mwaskom/seaborn/commit/74ca1908ff88383a722df51b4adfed4e3e84a83b"><tt>74ca190</tt></a>, it appears as if you can no longer pass the <code class="notranslate">xticklabels</code> and <code class="notranslate">yticklabels</code> through <code class="notranslate">clustermap</code> to <code class="notranslate">heatmap</code> since those kwargs are present in <code class="notranslate">heatmap</code>, thus resulting in a duplicate argument error. This was not the case previously in 0.5.1, I believe. See <a class="commit-link" href="https://github.com/mwaskom/seaborn/commit/e5684e3f7748e23b15437a2e66cccb9eef19a7d1#diff-33635340559df70c3277d4c8a87885e1R169"><tt>e5684e3</tt>#diff-33635340559df70c3277d4c8a87885e1R169</a></p>