Coder Social home page Coder Social logo

Comments (4)

trevismd avatar trevismd commented on July 19, 2024

Hello, @inqlee0704,
Thanks for the question.

I'll assume that the plot is OK if shown without annotations.

It seems to be thinking that there is a need to plot data around y=0 for the All group. But somehow there's nothing on the plot.
So first, does addingfliersize=0 to your Annotator() call solves your problem?
If it's not the case (possible if All is not really the union of all other groups, otherwise it should also happen on another column), could you check what happens when you exclude all the All datapoints from the dataset?

from statannotations.

inqlee0704 avatar inqlee0704 commented on July 19, 2024

Adding fliersize=0 didn't solve the issue.

This is what I got after removing 'All' annotations:
image

And this is what I got after deleting 'All' datapoints from the dataset.

image

Yes, it seems that the first group always has this issue.

from statannotations.

trevismd avatar trevismd commented on July 19, 2024

Hmmm....
Can you please show seaborn's plot without the annotations and with outliers ? So, only

plt.figure(figsize=(15,8))
sns.boxplot(x=x,y=y, hue=hue,data=df)
plt.show()

Also, do you have the problem with any number of groups (lobes)? We see here with 5 but is it the same with 4, 3, and 2 ?
Would you be OK with sharing a minimal dataset that I can use to reproduce and debug locally ?

from statannotations.

inqlee0704 avatar inqlee0704 commented on July 19, 2024

Here is the result without annotations and with outliers.

image

Sure, here is the link to the csv file.
https://docs.google.com/spreadsheets/d/1bsKKYArRF_Iwag2TMVQ4kQKRX48OxYuECToA2vmveEM/edit#gid=0
Please let me know if the link doesn't work.

from statannotations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.