ridgeplot icon indicating copy to clipboard operation
ridgeplot copied to clipboard

Can't see line with columns of different range

Open marclelamy opened this issue 3 years ago • 4 comments

Hi!

First, thanks for this library which is really awesome!

I have this dataset where I'm analyzing Premie league football since 1992. I want to plot a Ridge plot with each subplot being Yellow_card, red_card, goal, penalty, etc, and see the distribution over a 90mn period to see when these actions happen the most. Of course, there is way more yellow cards than goals and way more goals that red card which results in a plot like this:

Screenshot-2021-07-13-at-01-29-37

Is there a way to see everything, I check the parameters and the code but I'm not that good in python to understand everything yet...

Any help?

marclelamy avatar Jul 12 '21 23:07 marclelamy

@marclelamy thank you for the kind words!

This looks like a nice feature to implement. I will have a look at this in the coming days. In the meantime, you could achieve this by normalising each trace yourself. Let me get back to you on this 🚀

tpvasconcelos avatar Jul 13 '21 17:07 tpvasconcelos

@marclelamy any success? Let me know if you would like some help in the meantime :)

tpvasconcelos avatar Jul 17 '21 12:07 tpvasconcelos

Hey! I just logged back on Github but went with the Plotly solution as I found it works pretty well. But yeah, now that you talk about normalization, it totally makes sense and I'm sure it would work!

marclelamy avatar Jul 19 '21 00:07 marclelamy

Thanks for getting back to me @marclelamy! I have added an enhancement label to this as I still believe it is a nice feature to add 🚀

tpvasconcelos avatar Jul 19 '21 08:07 tpvasconcelos