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

Fix box trace with "all" points and line_width=0 doesn't render marker in legend #7162

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jnumainville
Copy link

Fixes #7159 with both the box and violin, so now points show up in the legend when fillcolor is transparent, line width is 0, and points/boxpoints is set to "all"

@gvwilson gvwilson added community community contribution P3 not needed for current cycle fix fixes something broken labels Sep 23, 2024
}
},
"hoveron": "points"
}
],
"layout": {
"legend": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution @jnumainville ! This is a great fix.

Let's add "orientation": "h" to the legend spec so that the legend doesn't overlap the data points.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't get that to work for some reason, not sure what I was doing wrong, so I flipped the "y" to "x" in the traces, hopefully that works.

@jnumainville
Copy link
Author

That image shows an error for me but I went into circleci and pulled the image I believe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community community contribution fix fixes something broken P3 not needed for current cycle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Box trace with boxpoints="all" and line_width=0 doesn't render marker in legend
4 participants