Fix y_range determination for profile in time-axis spectrum