I am plotting the power of a signal which has according to the range of frequency a different power. Therefore I want to have the y-axis set automatically, but it still should have a decent size (not only the range of the min and max of the noise).
Of course I can set plt.ylim
but then I am fixed to one specific range.