lets-plot
lets-plot copied to clipboard
Plot Nothing when encountering NaN
Hi, Would it be possible for Lets-Plot to plot nothing when encountering NaNs ?
In the current version, geom_line() or geom_path() will join data points even if they are separated with NaNs.
for example, plotting x:[1,2,np.nan,np.nan,6,7] against y:[12,27,39,np.nan,65,71] would result in one line while it should results in 2 segments since the 3rd and 4th data points "do not exist"
thanks !