fixed density ylim and formatting