<p dir="auto">Even when annot is set to True, setting x/yticklabels to [] causes annotations not to show. This behavior seems odd; if I don't want annotations, I won't set annot.</p>
<p dir="auto">Code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import seaborn as sns
sns.set()
flights_long = sns.load_dataset(&quot;flights&quot;)
flights = flights_long.pivot(&quot;month&quot;, &quot;year&quot;, &quot;passengers&quot;)
flights.index.name = flights.columns.name = ''
sns.heatmap(flights, annot=True, xticklabels=[], yticklabels=[], fmt=&quot;d&quot;, linewidths=.5)"><pre class="notranslate"><code class="notranslate">import seaborn as sns
sns.set()
flights_long = sns.load_dataset("flights")
flights = flights_long.pivot("month", "year", "passengers")
flights.index.name = flights.columns.name = ''
sns.heatmap(flights, annot=True, xticklabels=[], yticklabels=[], fmt="d", linewidths=.5)
</code></pre></div>
<p dir="auto">What I get:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/474937/27722171-772aa2e0-5d2b-11e7-914d-5ac660fc3cd0.png"><img src="https://user-images.githubusercontent.com/474937/27722171-772aa2e0-5d2b-11e7-914d-5ac660fc3cd0.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">What I would like:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/474937/27722166-6101027a-5d2b-11e7-9e91-f3f876c25067.png"><img src="https://user-images.githubusercontent.com/474937/27722166-6101027a-5d2b-11e7-9e91-f3f876c25067.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Does this seem like a reasonable use case?</p>
<p dir="auto">C:\Users\user\Anaconda3\lib\site-packages\matplotlib\axes_axes.py:6462: UserWarning: The 'normed' kwarg is deprecated, and has been replaced by the 'density' kwarg.</p>
<p dir="auto">Please suggest!! how to remove such warning?</p>