PGFPlotsX.jl - xtick distance/range/count for histograms?

AFAIK it is a feature of ybar interval to add bin labels to every bin. You can fiddle around with the styling, but IMO the simplest workaround is the one you found.

We could include a utility like pretty in R to make a -50:10:50 from a bunch of random points. I wonder if some package has this already?