tpvasconcelos / ridgeplot

Beautiful ridgeline plots in python
https://ridgeplot.readthedocs.io/
MIT License
62 stars 3 forks source link

Add hover information #152

Closed cpsievert closed 6 months ago

cpsievert commented 8 months ago

Nice package! It'd be great if hover information was included

tpvasconcelos commented 8 months ago

Hey @cpsievert thanks for opening this issue! I agree this is a good feature to add. It should even be the default behaviour.

Is this something you're interested in taking a look at yourself and maybe contributing to the project?

tpvasconcelos commented 6 months ago

@cpsievert I'm implementing this in https://github.com/tpvasconcelos/ridgeplot/pull/174. What do you think of this as the default behaviour for the hover info displayed? I think it emulates Plotly's default behaviour close enough. Will merge and release this soon 👍

image
tpvasconcelos commented 6 months ago

@cpsievert see some interactive examples here (PR docs): https://ridgeplot--174.org.readthedocs.build/en/174/getting_started/getting_started.html

tpvasconcelos commented 6 months ago

@cpsievert just released this. If you upgrade (pip install 'ridgeplot==0.1.24') you should be able to see the hover info by default. Feedback is welcome!