<p dir="auto">It is very common to add statistical annotations when comparing boxplots or barplots. See the screenshot for an example.</p>
<p dir="auto">(A) Are there any plans to include a similar feature or (B) to at least facilitate the addition of such annotations?</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11406002/84556825-a2814f00-ad25-11ea-9db9-9a8044e6221f.png"><img src="https://user-images.githubusercontent.com/11406002/84556825-a2814f00-ad25-11ea-9db9-9a8044e6221f.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">So far, it's rather difficult to add such annotations because seaborn's <code class="notranslate">boxplot()</code> and <code class="notranslate">barplot()</code> don't expose the boxes and bars they draw. One could grab the matplotlib artists and try to reverse engineer the plot content, but this is way too difficult.</p>
<p dir="auto">I've found <a href="https://github.com/webermarcolivier/statannot">statannot</a>, a great attempt to work around this missing feature. But the solution re-implements some of seaborn's code and recreates the plots internally. Also, the annotation logic was not matching my needs perfectly. Before digging into statannot, I thought to check first why seaborn is not offering that feature in first place.</p>
<p dir="auto">Thanks!</p>
<p dir="auto">Seems like there is something preventing heatmap annotation but I'm not sure what. To reproduce this just run the example <a href="http://stanford.edu/~mwaskom/software/seaborn/examples/heatmap_annotation.html?highlight=heatmap" rel="nofollow">here</a>.</p>
<p dir="auto">This is what I get:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/8889265/12174877/35b63cf4-b52d-11e5-8e03-4c59fddc666d.png"><img src="https://cloud.githubusercontent.com/assets/8889265/12174877/35b63cf4-b52d-11e5-8e03-4c59fddc666d.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">I'm using the most up to date version of seaborn on conda (0.6.0).</p>
<p dir="auto">Also in the example the ticklabels are horizontal. For some reason I have to rotate them 360 degrees to get them back horizontal.</p>