hist: quantiles also works on 2D and 3D histograms by first projecting onto the selected axis