-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Should categorical bars / boxes always have a width of 1? #1181
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
Comments
that's a funny one, I think it's two bugs:
|
@alexcjohnson Forcing a width of 1 for category axis can be done by changing this line and this line. |
Fixed in #1260 Changing issue title to reflect what's left of @bpostlethwaite 's bug report. |
I think so - it's misleading otherwise, as otherwise a bar would bleed into neighboring categories, which in principle have no relation to each other. |
A similar problem happens for box traces on categorical position axes - see #4510 for more details. |
http://codepen.io/bpostlethwaite/pen/eBvMWM
All data points except two have been filtered but the plot shows the full range of axis points and they are off center. I don't know if this is related to filtering or is more general but this is a way to trigger it.
cc @etpinard @alexcjohnson
The text was updated successfully, but these errors were encountered: