Skip to content

Hoverlabel custom color bugs #2981

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

Closed
etpinard opened this issue Sep 7, 2018 · 1 comment · Fixed by #3048
Closed

Hoverlabel custom color bugs #2981

etpinard opened this issue Sep 7, 2018 · 1 comment · Fixed by #3048
Assignees
Labels
bug something broken

Comments

@etpinard
Copy link
Contributor

etpinard commented Sep 7, 2018

From @nicolaskruchten :

While testing this I also found some cases where the hoverlabel text doesn't automatically contrast with the bgcolor in a sufficient way ... setting layout.hoverlabel.bgcolor = "white" gives this, where issue 1 is that the bottom overlabel doesn't have black text and issue 2 is that the trace-name portion of the label doesn't have black text. Setting layout.hoverlabel.font.color = "black" only corrects issue 1.

image

@nicolaskruchten
Copy link
Contributor

Pen to show this easily: https://codepen.io/nicolaskruchten/pen/pOdRbo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants