Skip to content

Instantly share code, notes, and snippets.

@trevismd
Last active July 21, 2021 15:01
Show Gist options
  • Save trevismd/8db55ce279b2b760857f286991c52e73 to your computer and use it in GitHub Desktop.
Save trevismd/8db55ce279b2b760857f286991c52e73 to your computer and use it in GitHub Desktop.
Annotating with star notation
with sns.plotting_context("notebook", font_scale = 1.4):
# ...Same as previous
# Add annotations
annotator = Annotator(ax, pairs, **plotting_parameters)
annotator.set_pvalues(pvalues)
annotator.annotate()
# ... same as previous
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment