-
Notifications
You must be signed in to change notification settings - Fork 0
Fix width of box plots with log-scale axis #1
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
Conversation
Hi @s417-lama, using linearized coordinates ( looks like the gaps in-between the boxes are bit large (when compared to a corresponding Moreover, have you ran the image and jasmine tests off your branch? I'd be interested to know your patch breaks any of our tests. |
@etpinard Thank you for trying it!
That is an expected behaviour; the width of box plots is determined by the min distance among them (in this case, the distance between 50 and 100). Without
I ran the tests. I think my change does not affect them. Actually, in my local environment, some tests fail even in master branch. Running environment:
Result of
Results of
|
Fix in 370e61a is not related to any tests, but there was a problem when a value axis (y axis in the example) is also log scale. |
Hi again @s417-lama - you're right those test failures don't seem related to your patch. I think you're ready to make a PR to the main plotly.js repo. We'll take a closer look at your logic there. |
Thanks! I'll make a PR to the main repo. |
Pull all changes from original plotly to the fork
Fixes an issue of box plots that box width is also log-scaled with log axis (plotly#3508).
I changed the setting of box widths from raw-value-based one to linearized-value-based one.