statannotations
statannotations copied to clipboard
Drifting annotations with FacetGrid
Hello, I am trying to add annotations in a seaborn catplot, but I noticed that self._plotter.get_value_lim()
in annotate is messing the coordinates, since every plot increases the maximum ylim. I tried #89 and #101. Also setting a fixed orig_value_lim
is breaking the plot, so probably also _annotate_pair
uses the wrong ylims.
Do you know how to circumvent the problem?
Hi! Sorry the first answer's coming late and isn't probably what you want, but here it is anyway :-)
Until Catplots are supported, if you're willing to switch over to using FacetGrid, you could probably pass sharey=False
to achieve this (see the image and my recent answer for the code in #120).
I think you could also find a way to specify ylims in each subplot such that the height of "100%" matches.
Let me know how that goes, I'll try to be more reactive ;)