add weights argument to histogram example

This commit is contained in:
Michael K. Borregaard 2017-10-13 17:08:26 +02:00
parent 422988b3f6
commit 6db7116db9

View File

@ -145,7 +145,7 @@ PlotExample("Bar",
PlotExample("Histogram", PlotExample("Histogram",
"", "",
[:(begin [:(begin
histogram(randn(1000), nbins=20) histogram(randn(1000), bins = :scott, weights = repeat(1:5, outer = 200))
end)] end)]
), ),