Skip to content
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

Plotting of significance happens beneath Seaborn Violin Plots #118

Open
greenmna opened this issue Apr 4, 2023 · 0 comments
Open

Plotting of significance happens beneath Seaborn Violin Plots #118

greenmna opened this issue Apr 4, 2023 · 0 comments

Comments

@greenmna
Copy link

greenmna commented Apr 4, 2023

Hello!

Full disclosure, I am currently using Seaborn v 0.12, which I know is not fully supported as of yet.

Currently, I have had no issues running statannotations up until trying to get the placement of the significance lines above my violin plots.

Here is how they look when loc='inside'
image

My question is if anyone else has been broached by something similar and has a solution, even if it involves digging into the Annotator.py file?

There is also one, unrelated to my current issue, but still relevant, thing that I took notice of. This is an issue mainly with Seaborn, but it might tie into those who try to use statannotations with Seaborn 0.12 if their numpy is later than 1.20: A lot of the old np classes have been deprecated (e.g. np.float no longer works, you must call 'float', 'float32', or 'float64' as strings wherever calling a numpy data type using the old syntax). So, hopefully seaborn updates their scripts categorical.py and utils.py where they're called

Thank you for any assistance! I love the scripts by the way, they're a life-saver!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant