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

scattergl trace with marker angle array does not draw marker in legend #6770

Closed
curtisratzlaff opened this issue Nov 2, 2023 · 2 comments · Fixed by #6787
Closed

scattergl trace with marker angle array does not draw marker in legend #6770

curtisratzlaff opened this issue Nov 2, 2023 · 2 comments · Fixed by #6787

Comments

@curtisratzlaff
Copy link

Code pen: (https://codepen.io/curtisratzlaff/pen/GRzjMyK)

The marker is missing from the legend:
image

The console outputs this error:
image

Searching the the html for nan I find this:
image

A couple of things that will make this problem go away.

  • If you remove the marker.angle array from the trace definition.
  • If you only provide a single value in the array.
  • If you specify "circle" in the marker.symbol.
  • If you change the trace type to scatter.

Let me know if I can provide any more information.

@archmoj
Copy link
Contributor

archmoj commented Nov 2, 2023

Thanks for the report.
@curtisratzlaff Are you interested to submit a PR to help fix this bug?

@curtisratzlaff
Copy link
Author

I'm not sure what the fix is. I found this issue while working on a project this week and wanted to report it.

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

Successfully merging a pull request may close this issue.

2 participants