trevismd / statannotations

add statistical significance annotations on seaborn plots. Further development of statannot, with bugfixes, new features, and a different API.
Other
659 stars 73 forks source link

No figure update after annotating outside of the plotting area #18

Open trevismd opened 3 years ago

trevismd commented 3 years ago

First reported here: https://github.com/webermarcolivier/statannot/issues/80

When adding annotations with loc="outside", the figure size is not adjusted automatically, which requires an extra parameter to save or show the figure without it being cut short.

(Until fixed, use fig.tight_layout() manually before saving/showing the plot)