Skip to content

Whisker length, more precise description #25135

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

Merged
merged 4 commits into from
Feb 3, 2023
Merged

Conversation

RadostW
Copy link
Contributor

@RadostW RadostW commented Feb 2, 2023

See issue for discussion.
#25134 (comment)

PR Summary

Slight change of the documentation wording to make it more precise.

PR Checklist

Documentation and Tests

Not applicable: - [ ] Has pytest style unit tests (and pytest passes)

  • Documentation is sphinx and numpydoc compliant (the docs should build without error).

Not applicable: - [ ] New plotting related features are documented with examples.

tacaswell
tacaswell previously approved these changes Feb 2, 2023
Comment on lines 3726 to 3729
quartile (Q3) of the data, with a line at the median. The
whiskers extend from the box to the farthest point within
1.5x the inter-quartile range (IQR) distance. Flier points
are those past the end of the whiskers.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe?

Suggested change
quartile (Q3) of the data, with a line at the median. The
whiskers extend from the box to the farthest point within
1.5x the inter-quartile range (IQR) distance. Flier points
are those past the end of the whiskers.
quartile (Q3) of the data, with a line at the median. The
whiskers extend from the box to 1.5x the inter-quartile
range (IQR) distance from the median. Flier points
are those past the end of the whiskers.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And actually I'm confused - is the ASCII art also incorrect?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No!
It's 1.5x IQR from the edge of the box, so low = Q1 - 1.5 * IQR location of the median has no influence here

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, well, its still not clear then, but at least the ASCII art is correct...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also the whole point of this change was to explain why sometimes whiskers are asymmetric (see #25134 (comment)) and the proposal above #25135 (comment) doesn't resolve that.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for opening your first PR into Matplotlib!

If you have not heard from us in a while, please feel free to ping @matplotlib/developers or anyone who has commented on the PR. Most of our reviewers are volunteers and sometimes things fall through the cracks.

You can also join us on gitter for real-time discussion.

For details on testing, writing docs, and our review process, please see the developer guide

We strive to be a welcoming and open project. Please follow our Code of Conduct.

@tacaswell tacaswell dismissed their stale review February 3, 2023 01:09

There is an unresolved discussion over wording.

Copy link
Member

@jklymak jklymak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for persevering explaining this to me!

@jklymak jklymak merged commit a0a6bdb into matplotlib:main Feb 3, 2023
@jklymak
Copy link
Member

jklymak commented Feb 3, 2023

I took the liberty of squash merging. Thanks a lot for fixing this and we hope to hear from you again...

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

Successfully merging this pull request may close these issues.

3 participants