1

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?

1 Answers1

1

You probably need to split the sections and plot them as separate traces. Then give them all the same color.

StephanT
  • 649
  • 5
  • 12