-
-
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
Hide gridlines and ticks overlapping inside ticklabels #5550
Conversation
As described in #5502 we should also be removing the ticks & tick labels at these positions, not just the gridlines. Perhaps that argues for a simpler solution where the range over which ticks are generated is reduced? |
Does this PR include the "addendum" scope from #5502 (comment) ? After speaking with the customer, it's OK for X ticklabels to slightly underhang Y inside-ticklabels, so we convened that the centerline was a better trip-point than either edge. |
Yes it does. |
I see 769c7b8 that indicates at one point we were removing zero lines that intersect these labels, but now we're not anymore... don't we want to? My understanding was that the goal here is that none of the counteraxis marks at a location beyond the beginning of these inside labels should be visible. Also I see some labels ( |
We do want to remove the zero lines that intersect, yes |
Can I get a Pen for this please? |
The first bit is addressed in 1f146f5. |
Good catch! |
That seems to fix the ticks, but I'm still seeing some labels that should have been removed. |
I can't replicate this problem. |
@archmoj give it a try in this PR - it's an edge case but we really don't want to be introducing a known bug in one PR just to remove it in another. |
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.
Love it 💃
Addressing #5502.
@plotly/plotly_js