add weights argument to histogram example
This commit is contained in:
parent
422988b3f6
commit
6db7116db9
@ -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)]
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user