Skip to content
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

x hover label hidden when using hoversubplots='axis' and hovermode='x' #7184

Open
Rangowo opened this issue Oct 2, 2024 · 0 comments · May be fixed by #7211
Open

x hover label hidden when using hoversubplots='axis' and hovermode='x' #7184

Rangowo opened this issue Oct 2, 2024 · 0 comments · May be fixed by #7211
Assignees
Labels
bug something broken P3 backlog

Comments

@Rangowo
Copy link

Rangowo commented Oct 2, 2024

Hi,
When the hovermode is set to 'x' and the hoversubplots='axis' option is used, the x label can be hidden by the labels of other subplots. This issue can also be found in the plotly python documentation, as shown below:
plotly_doc In this CodePen, the problem arise when hovering the first point of the first subplot or the last point on the middle subplot.

I believe it would make more sense to stick the x label at the bottom subplot, regardless of which subplot is hovered over, especially when the spike line is enabled. I implemented this, and here is what it looks like in my use case:
Solution

Please let me know what you think.

Thanks!

@gvwilson gvwilson added bug something broken P3 backlog labels Oct 2, 2024
@Rangowo Rangowo linked a pull request Oct 7, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken P3 backlog
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants