I am working with a dataset to create lineplots of several sensors. Some of the sensors datasets miss a number of days of data, which is shown in the dataset as a nan. When plotting the data in seaborn.lineplot the gap with nan values is interpolated as a straight line.
How can I not plot anything rather than have the straight line?