Could you please explain how to plot histograms with a logarithmic Y axis? I have tried getting the histogram data…