<human>:  Logarithmic y-axis bins in python
<bot>: Here is some code to plot a data logarithmically in y axis

plt.yscale('log', nonposy='clip')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.