set 1d hist ylim proportional to counts

Hey, let me know if these few changes are useful for you.