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

[feature] Create arbitrary plot legends #2475

Open
ewels opened this issue Apr 8, 2024 · 0 comments
Open

[feature] Create arbitrary plot legends #2475

ewels opened this issue Apr 8, 2024 · 0 comments

Comments

@ewels
Copy link
Member

ewels commented Apr 8, 2024

It'd be nice to be able to supply a totally custom legend for a plot. For example, in cases where large scatter plots have thousands of points grouped into a handful of categories (eg. somalier), having a legend of those categories would be very helpful.

As the use cases here could vary, my suggestion would be to simply supply names and colours. Not sure if Plotly will allow this.

See https://community.seqera.io/t/adding-legend-to-somalier-pca-plots/637 for context.

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

No branches or pull requests

1 participant