y-axis works as expected