-
-
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
Fix for displaying narrow bars in interactive mode #4568
Conversation
@etpinard I am working on few more commits for this PR. |
Please note that bug reported in #4573 is also fixed in this PR. |
src/traces/bar/plot.js
Outdated
di.isBlank = isBlank; | ||
|
||
// for empty bars, ensure start and end positions are equal when having transition | ||
if(isBlank && withTransition) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With revised logic, now there is no need for handling transitions differently.
Awesome work. Thanks very much for adding those transition tests! I hope this is the last of our blank bar fixup. 💃 |
Fixes #4567 | Demo: before vs after
and fixes #4573 | before vs after
@plotly/plotly_js
cc: @brubbel