I think what you are looking for is either a fit (like a Gaussian fit in this case), see one of my older posts: Fitting a 1D distribution using Gaussian Mixtures or a kernel density estimation https://github.com/JuliaStats/KernelDensity.jl
This task should not be done by a plotting library if you ask me