-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Barplot - cannot override width #2508
Comments
I think this will get implemented when it's barplot's time in the #2429 barrel. BTW it has been my experience that most of the time people ask about setting the barplot width, they are trying to use |
Great - looking forward to it. My use-case is the following: The issue is that because I'm potentially showing a timeseries of up to 2 years, at a weekly granularity, the X labels overlap each other and are illegible, so I rotate them. |
No, making the bars wider with the same figure width will not create extra space for the labels. |
Seconding this, barplots with only two or three bars can result in unappealingly large plots. Hue nesting does result in much nicer sizes, but also leads to weird spacing between some bars, even with |
Version:
0.11.1
OS:
Ubuntu
Description:
When calling
barplot(..., width=width)
aTypeError
is raised frommatplotlib
:TypeError: bar() got multiple values for argument 'width'
I think
barplot()
should either:matplotlib
explaining whywidth
cannot be overridden if there's a good reasonmatplotlib
This goes for the other
kwargs
accepted bymatplotlib
as well, of course.The text was updated successfully, but these errors were encountered: