added the option to show the y-axis