Skip to content

Legend for ridgeplots with multiple traces per line #315

@tpvasconcelos

Description

@tpvasconcelos

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions