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

Adjust legend #254

Open
mauritsunkel opened this issue Sep 19, 2023 · 1 comment
Open

Adjust legend #254

mauritsunkel opened this issue Sep 19, 2023 · 1 comment

Comments

@mauritsunkel
Copy link

Hi,

I am coloring some interactions by a custom 'grouping', I would like the created legend for this to be unique for each group instead of each interaction, as there now are duplicates.

Not giving a query.name or trying to nullify it doesn't work, as a semi-random query name is generated for the legend.
Adjusting the legend after plot creation doesn't seem to work as I believe the legend order is generated by interaction order during plotting and not query list order.

Any advice on how I could go about this?

Best,
Maurits

@Mahammad-123
Copy link

Use the scale_color_manual() function

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

No branches or pull requests

2 participants