Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

How to break time series lines at data "gaps"?

I wonder how I can create a time series using Scatter plot which would show gaps (resulting in an “interrupted” line) whenever there is data “missing”. This would essentially mean whenever adjacent points are too far apart, where one would need to define what “too far” means. I think I’ve managed to do this using Bokeh before.

Ok, I’ve discovered this now using the connectgaps attribute and None values:

Is there a connectgaps attribute for R?