I\'m trying to create a histogram of a data column and plot it logarithmically (y-axis) and I\'m not sure why the following code does not work:
y-axis
np.logspace returns bins in [1-10], logarithmically spaced - in my case xx is a npvector >0 so the following code does the trick
[1-10]
logbins=np.max(xx)*(np.logspace(0, 1, num=1000) - 1)/9 hh,ee=np.histogram(xx, density=True, bins=logbins)