Plots: How to create a histogram such that sum of bar heights =1

UPDATE: The StatsBase PR got merged, which means that from the next release (or on StatsBase master), you can now simply plot this type of histogram with Plots using histogram([6,6,6,6,7,7,7,7,7,8], normalize = :probability).

Welcome to the wonderful world of Open Source development, @Seth_Chandler :slight_smile:

7 Likes