The obvious choice is to specify margin
attribute but it actually controls the margin space around the subplots but not including the labels. That means a wider margin would make the labels farther apart from the graph. Is there any way to keep the labels close to the subplots but instead control the margin between the subplots? (My definition of subplot includes the labels, too.)
MWE:
histogram(randn(1000,4), layout = 4,xlims=(-4,4),leg=false,
xaxis = "Values",yaxis = "Density", margin = 20px)