<p dir="auto">Hello,</p>
<p dir="auto">I am using sns.lineplot for time-series data. I realize that lineplot automatically fills in missing data and I want to avoid this. Is there a way of avoiding this in sns.lineplot.</p>
<p dir="auto">I attach some screenshots that briefly explain my issue.</p>
<p dir="auto">Thanks,</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/28057910/83626669-12f5d680-a596-11ea-897b-3d2b8b22df69.png"><img src="https://user-images.githubusercontent.com/28057910/83626669-12f5d680-a596-11ea-897b-3d2b8b22df69.png" alt="Screen Shot 2020-06-03 at 12 29 40 PM" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/28057910/83626704-2012c580-a596-11ea-9e87-dcb01eb83519.png"><img src="https://user-images.githubusercontent.com/28057910/83626704-2012c580-a596-11ea-9e87-dcb01eb83519.png" alt="Screen Shot 2020-06-03 at 12 30 30 PM" style="max-width: 100%;"></a></p>
<p dir="auto">I've tried to visualize my data with Seaborn line plot. My series had lots of <code class="notranslate">Nans </code> and a generated line plot was quite misleading.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/40000494/44867601-f6c25880-ac90-11e8-9ccd-ceedda0c4fed.png"><img src="https://user-images.githubusercontent.com/40000494/44867601-f6c25880-ac90-11e8-9ccd-ceedda0c4fed.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">using code below I managed to solve this issue:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fig, ax = plt.subplots(figsize=(10, 5))

plot = sns.lineplot(
    ax=ax
    , data=df, x=&quot;Date&quot;, y=&quot;Data&quot;
    , hue=df[&quot;Data&quot;].isna().cumsum()
    , palette=[&quot;blue&quot;]*sum(df[&quot;Data&quot;].isna())
    , legend=False, markers=True
)

ax.set_xticklabels([])
plt.show()"><pre class="notranslate"><code class="notranslate">fig, ax = plt.subplots(figsize=(10, 5))

plot = sns.lineplot(
    ax=ax
    , data=df, x="Date", y="Data"
    , hue=df["Data"].isna().cumsum()
    , palette=["blue"]*sum(df["Data"].isna())
    , legend=False, markers=True
)

ax.set_xticklabels([])
plt.show()
</code></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/40000494/44867731-5b7db300-ac91-11e8-9559-62ff68573436.png"><img src="https://user-images.githubusercontent.com/40000494/44867731-5b7db300-ac91-11e8-9559-62ff68573436.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">However - it would be very nice to add a parameter to line plot which would make it easy to specify the desired way to treat Nones.</p>
<p dir="auto">Thank you for your attention.</p>