I have an array slice:
array([1.0, 2.0, 3.0, None, 4.0, None, 5.0, None, 6.0, None], dtype=object)
which when building looks like 
How to get dashed / connecting lines to continue after None values? I tried to change the data type from objects to floats using an astype, and None was replaced by nan, but it didn't matter, I also tried a masked array using np.where (np.isnan ()), etc., but it didn't make a difference. My build command is very simple:
plt.plot(x, array, 'ro--')
where x is a numpy array.
source share