tpvasconcelos / ridgeplot

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

Allow for weighted kde #195

Open LucaMingarelli opened 3 months ago

LucaMingarelli commented 3 months ago

It would be useful to add the option to have weighted KDE (as well as weighted histograms).

In both cases it simply amounts to allow for a parameter weights to be passed to scipy.stats.gaussian_kde or numpy.histogram.

tpvasconcelos commented 1 day ago

Fore reference: this relates to #116