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

Add Perc stat for computing percentiles #3063

Merged
merged 9 commits into from
Oct 8, 2022
Merged

Add Perc stat for computing percentiles #3063

merged 9 commits into from
Oct 8, 2022

Conversation

mwaskom
Copy link
Owner

@mwaskom mwaskom commented Oct 8, 2022

(
    so.Plot(tips, "day", "total_bill")
    .add(so.Dot(), so.Perc(11))
    .add(so.Range(linewidth=3), so.Perc([10, 90]), so.Shift(x=.1))
)

@mwaskom mwaskom added this to the v0.12.1 milestone Oct 8, 2022
@codecov
Copy link

codecov bot commented Oct 8, 2022

Codecov Report

Merging #3063 (1614c6e) into master (c412ddf) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3063   +/-   ##
=======================================
  Coverage   98.38%   98.38%           
=======================================
  Files          72       74    +2     
  Lines       23537    23632   +95     
=======================================
+ Hits        23156    23251   +95     
  Misses        381      381           
Impacted Files Coverage Δ
seaborn/_stats/aggregation.py 97.50% <ø> (ø)
seaborn/_stats/order.py 100.00% <100.00%> (ø)
seaborn/objects.py 100.00% <100.00%> (ø)
tests/_stats/test_order.py 100.00% <100.00%> (ø)

@mwaskom mwaskom merged commit aa56714 into master Oct 8, 2022
@mwaskom mwaskom deleted the stat/perc branch October 8, 2022 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant