-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to use statannotations in FaceGrid of seaborn #120
Comments
Hi! |
I also would like to do this but I cannot find any tutorial on this. Seems like this figure (example_2facets.png) only appears in the README but nowhere in the tutorials |
Here should be the code to this image (with the dataset used in the tutorial, overdue part 2 will cover FacetGrids). annot = Annotator(None, pairs)
g = sns.FacetGrid(sf, col='State', height=12, sharey=False)
g.map_dataframe(annot.plot_and_annotate_facets, plot='boxplot',
plot_params=plotting_parameters,
configuration={"test": "Mann-Whitney"}, annotation_func="apply_test",
ax_op_before=[["set_yscale", ["log"], {}]])
g.set_axis_labels("Technology Subcategory", "Goal")
g.fig.patch.set_alpha(1)
plt.show() |
I just want to draw a figure by FacetGrid in seaborn and add test in it just like the example in the homepage, how should I do?
The text was updated successfully, but these errors were encountered: