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

Legend for ridgeplots with multiple traces per line #315

Open
tpvasconcelos opened this issue Feb 6, 2025 · 3 comments
Open

Legend for ridgeplots with multiple traces per line #315

tpvasconcelos opened this issue Feb 6, 2025 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@tpvasconcelos
Copy link
Owner

Discussed in #314

Originally posted by abrahme February 3, 2025
I was wondering if there was a way to add a legend for each color present in a ridge-plot? For example,
https://ridgeplot.readthedocs.io/en/stable/getting_started/getting_started.html the last example with min and max temperature densities per month are blue and red respectively. However, it would be nice to have a legend on the side indicating that red is max temperature and blue is min temperature. Is it as simple as adding a legend for a typical plotly graph?

@tpvasconcelos tpvasconcelos added enhancement New feature or request good first issue Good for newcomers labels Feb 6, 2025
@tpvasconcelos
Copy link
Owner Author

@abrahme could you provide an example of what you want to achieve to make sure I understand exactly what you mean? Is it something like this maybe? If so, this is definitely something we should support!

Image

Image

Image

Image

@abrahme
Copy link

abrahme commented Feb 7, 2025

@abrahme could you provide an example of what you want to achieve to make sure I understand exactly what you mean? Is it something like this maybe? If so, this is definitely something we should support!

Yes, this is exactly what I was referring to! Thank you

@tpvasconcelos
Copy link
Owner Author

@abrahme let me know if you are interested in contributing. From my side, I agree that this is something we want to allow users to easily configure 

@tpvasconcelos tpvasconcelos pinned this issue Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants