Fixed truncated x-axis when all y-vals are NaN for some x