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 width parameter to barplot #2860

Merged
merged 3 commits into from
Jun 16, 2022
Merged

Add width parameter to barplot #2860

merged 3 commits into from
Jun 16, 2022

Conversation

mwaskom
Copy link
Owner

@mwaskom mwaskom commented Jun 15, 2022

Closes #2508, see also #1878, #824

sns.barplot(tips, x="size", y="tip", hue="sex", width=.4)

image

@codecov
Copy link

codecov bot commented Jun 15, 2022

Codecov Report

Merging #2860 (6136338) into master (a48dc8f) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2860   +/-   ##
=======================================
  Coverage   98.11%   98.12%           
=======================================
  Files          69       69           
  Lines       22247    22249    +2     
=======================================
+ Hits        21828    21831    +3     
+ Misses        419      418    -1     
Impacted Files Coverage Δ
seaborn/categorical.py 98.62% <100.00%> (+0.07%) ⬆️
tests/test_categorical.py 99.77% <100.00%> (+<0.01%) ⬆️

@mwaskom mwaskom merged commit 1e24db4 into master Jun 16, 2022
@mwaskom mwaskom deleted the barplot/width branch June 16, 2022 10:29
@mwaskom mwaskom mentioned this pull request Jun 27, 2022
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.

Barplot - cannot override width
1 participant