{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaStats/StatsBase.jl/issues/293","repository_url":"https://api.github.com/repos/JuliaStats/StatsBase.jl","labels_url":"https://api.github.com/repos/JuliaStats/StatsBase.jl/issues/293/labels{/name}","comments_url":"https://api.github.com/repos/JuliaStats/StatsBase.jl/issues/293/comments","events_url":"https://api.github.com/repos/JuliaStats/StatsBase.jl/issues/293/events","html_url":"https://github.com/JuliaStats/StatsBase.jl/pull/293","id":250659402,"number":293,"title":"Add proportion normalization to histograms","user":{"login":"mkborregaard","id":8429802,"avatar_url":"https://avatars2.githubusercontent.com/u/8429802?v=4","gravatar_id":"","url":"https://api.github.com/users/mkborregaard","html_url":"https://github.com/mkborregaard","followers_url":"https://api.github.com/users/mkborregaard/followers","following_url":"https://api.github.com/users/mkborregaard/following{/other_user}","gists_url":"https://api.github.com/users/mkborregaard/gists{/gist_id}","starred_url":"https://api.github.com/users/mkborregaard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkborregaard/subscriptions","organizations_url":"https://api.github.com/users/mkborregaard/orgs","repos_url":"https://api.github.com/users/mkborregaard/repos","events_url":"https://api.github.com/users/mkborregaard/events{/privacy}","received_events_url":"https://api.github.com/users/mkborregaard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2017-08-16T15:01:53Z","updated_at":"2017-08-22T17:18:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuliaStats/StatsBase.jl/pulls/293","html_url":"https://github.com/JuliaStats/StatsBase.jl/pull/293","diff_url":"https://github.com/JuliaStats/StatsBase.jl/pull/293.diff","patch_url":"https://github.com/JuliaStats/StatsBase.jl/pull/293.patch"},"body":"This adds the option of a `:proportion` normalization to histograms. This was suggested here: https://discourse.julialang.org/t/plots-how-to-create-a-histogram-such-that-sum-of-bar-heights-1/5392/16\r\n\r\nThe proportion normalization is the normalization where the sum of all weights (the height of the histogram bars in a plot) is = 1. It is not a density-controlled normalization. It can be more intuitive to read from a diagram than a pdf normalization."},"comment":{"url":"https://api.github.com/repos/JuliaStats/StatsBase.jl/issues/comments/324093827","html_url":"https://github.com/JuliaStats/StatsBase.jl/pull/293#issuecomment-324093827","issue_url":"https://api.github.com/repos/JuliaStats/StatsBase.jl/issues/293","id":324093827,"user":{"login":"mkborregaard","id":8429802,"avatar_url":"https://avatars2.githubusercontent.com/u/8429802?v=4","gravatar_id":"","url":"https://api.github.com/users/mkborregaard","html_url":"https://github.com/mkborregaard","followers_url":"https://api.github.com/users/mkborregaard/followers","following_url":"https://api.github.com/users/mkborregaard/following{/other_user}","gists_url":"https://api.github.com/users/mkborregaard/gists{/gist_id}","starred_url":"https://api.github.com/users/mkborregaard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkborregaard/subscriptions","organizations_url":"https://api.github.com/users/mkborregaard/orgs","repos_url":"https://api.github.com/users/mkborregaard/repos","events_url":"https://api.github.com/users/mkborregaard/events{/privacy}","received_events_url":"https://api.github.com/users/mkborregaard/received_events","type":"User","site_admin":false},"created_at":"2017-08-22T17:18:35Z","updated_at":"2017-08-22T17:18:35Z","body":"In the PR the label is currently `:fraction` though, but happy to go with whichever name you feel makes the best sense."}}
{"actor":{"display_login":"mkborregaard"}}