histogram(randn(1000), bins = :scott, weights = repeat(1:5, outer = 200))
using Plots gr() histogram2d(randn(10000), randn(10000), nbins=20)