-
Notifications
You must be signed in to change notification settings - Fork 75
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
v0.60 not compatible with seaborn v0.13 #143
Comments
Similar error here:
Thanks for the updates |
Same issue here: AttributeError: module 'seaborn.categorical' has no attribute '_BoxPlotter' |
Same issue here: code from statannotations.Annotator import Annotator
x = "color"
y = "price"
hue = "cut"
hue_order=['Ideal', 'Premium', 'Good', 'Very Good', 'Fair']
order = ["E", "I", "J"]
pairs=[
(("E", "Ideal"), ("E", "Very Good")),
(("E", "Ideal"), ("E", "Premium")),
(("E", "Ideal"), ("E", "Good")),
(("I", "Ideal"), ("I", "Premium")),
(("I", "Ideal"), ("I", "Good")),
(("J", "Ideal"), ("J", "Premium")),
(("J", "Ideal"), ("J", "Good")),
(("E", "Good"), ("I", "Ideal")),
(("I", "Premium"), ("J", "Ideal")),
]
ax = sns.boxplot(data=df, x=x, y=y, order=order, hue=hue, hue_order=hue_order)
annot = Annotator(ax, pairs, data=df, x=x, y=y, order=order, hue=hue, hue_order=hue_order)
annot.configure(test='Mann-Whitney', verbose=2)
annot.apply_test()
annot.annotate()
plt.legend(loc='upper left', bbox_to_anchor=(1.03, 1))
plt.show() raise Exception
|
It need older version
and |
@trevismd Any plans to keep this project going? Thanks for the work! |
This is a much-needed package! Please update so it can be used with the latest Seaborn. Thank you! |
You could use the package You can find the starbars documentation here. Disclaimer: I'm the author of the package. |
How to label significance for a boxplot containing hue? How to use different inspection methods(ttest or ...)? |
Hey, sorry for the late reply! I hadn't thought about the hue case, so thank you for pointing it out to me! I'll try to find a solution for that too. Regarding the statistical methods, for now I haven't included it in the function, so you'd have to find the p-values with your chosen statistics separetely and then save the results in a tuple with the variables' names
Hope it helps and feel free to ask for more :) |
heyhey! Just checking in to say that the new 1.3.0 version of Check out the new documentation for more info and I'm always available for more help ✨ |
|
When using statannotations v0.60 with seaborn v0.13, it would fail with this error:
AttributeError: module 'seaborn.categorical' has no attribute '_Violin(Box...)Plotter'
It only works with seaborn v0.11.
Any fix for this would be very much appreciated!
The text was updated successfully, but these errors were encountered: