You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In below image the upper subplot's y-axis takes up more horizontal space than the lower subplot's y-axis, because the upper subplot reserves space for a hidden longer label 100. Ideally, only visible labels should take up space.
The text was updated successfully, but these errors were encountered:
my-tien
added a commit
to my-tien/plotly.js
that referenced
this issue
May 6, 2025
To me, this does not seem like a bug. To me, hidden means "no color". If someone wants the tickmark to be completely gone, the length of the tickmark can be set to 0.
I actually think it is worse if the hidden one causes the axis position to change, because that could affect the spacing of a plot when someone does not want the spacing to change.
To me, this does not seem like a bug. To me, hidden means "no color". If someone wants the tickmark to be completely gone, the length of the tickmark can be set to 0.
I actually think it is worse if the hidden one causes the axis position to change, because that could affect the spacing of a plot when someone does not want the spacing to change.
Note, this issue is not about ticks or tick labels that are intentionally hidden by choosing an invisible color for them. This is about tick labels that are not displayed because they don't fit into the existing space and ticklabeloverflow is not allow.
Thank you for clarifying. Now I think I understand better what you mean. You're saying that in the upper plot, the value "100" has 3 digits and is hidden. So there are 3 digits of space reserved even though there is no "100". In contrast, in the lower plot, there is only 2 digits of space taken up because there is no "hidden" 3 digit number.
I am not sure I would call this a bug rather than an enhancement. However, I think I understand now. Thank you for clarifying.
In below image the upper subplot's y-axis takes up more horizontal space than the lower subplot's y-axis, because the upper subplot reserves space for a hidden longer label 100. Ideally, only visible labels should take up space.
The text was updated successfully, but these errors were encountered: