arr_none = np.array([None])
mask = (k[:, (0)] == arr_none) | (k[:, (1)] == arr_none)
ax.plot(numpy.arange(len(y))[mask], k[mask, 0] + k[mask, 1], 'k--')
matplotlib: Plot numpy arrays with None as values