Plotting a cumulative frequency line on a histogram with second y axis

Looks like a bug in Plots to me, a simpler MWE is

using Plots

histogram(rand(50))

plot!(twinx(), rand(50))
2 Likes