This should be changed to `if y_axis`.