Monday, 28 January 2019

Weighted histogram plotly

I'm lokking into migrate from matplotlib to plotly, but it seems it does not have as good integration with pandas. E.G. I'm traying to make a Weighted histogram specifying the number of bins:

sns.distplot(df.X, bins=25, hist_kws={'weights':df.W.values},norm_hist=False,kde=False)  

But i´m not findding a simple way to do this on plotly



from Weighted histogram plotly

No comments:

Post a Comment